I'm trying to use the
Sitecore Solr query to retrieve specific
facet values for a
Sitecore item. The
facet is a
checklist filter and the field is a
tree list type.
var test = context.GetQueryable<SearchResultItem>().Where(x => x.ItemId == item.ID).FacetOn(f => f[key]).GetFacets().Categories;
However, I end up with extra values which are not selected for that particular item.
Can anyone help here?