Hi Dynamicweb,
I have a problem using term facets as the query eliminates results from the same facet, so if I have "red", "yellow" and "blue" as term facets and selects "red", then "blue" and "yellow" are gone.
I think the problem is somehow related to this piece of code in FillFacetFieldTerms():
var searcher = new IndexSearcher(reader);
searcher.SetDefaultFieldSortScoring(true, false);
var filter = new CachingWrapperFilter(new QueryWrapperFilter(query));
TopFieldDocs topFieldDocs = searcher.Search(query, filter, int.MaxValue, Sort.RELEVANCE);
In this section the same query is used for the filter and search query.
Hope this makes sense?
Best regards, Anders