Hi, I have been using Solr for a while for an online web store. After search a filter box appears where user can filter results by many attributes. My question is how can I do it with Solr that he filter box show only available options based on result. For example if attribute "type" can be 1, 2, 3 but the results contains only 1 and 2, then only these two values should be available in the filters.
I get only the first page results and I don't want to read the full results from Solr because of performance. Is there any way to get available values by fields for a query without degrade performance? Thanks, Tamás