I use Solr for search and recently started using faceting so that users can narrow their search. However, as soon as the user filters one of the facets, the other filter parameters are no longer returned in the facet results. This is expected, but not what I would like.
Is there a way to return facet fields and read an unfiltered query without further searching? For example, if a user filters by category (by selecting a specific category), I would like them to still be able to select one of the other categories without explicitly deleting the filter in the first place. (That is, all categories and their calculations should still be returned by Solr, so I can include them on the page along with a filtered set of requests.)
I suspect this may not be possible. If this is not the case, I can simply execute an additional search query that would not take the filter into account (and return 0 rows), as described in https://stackoverflow.com/a/16727/ ... But I thought I would ask: does anyone know a way to do this without a few requests?
source share