Re: Facet on a field with rows=n

2011-12-08 Thread Chris Hostetter
: But there is a workaround: : 1) Do a normal query without facets (you only need to request doc ids : at this point) : 2) Collect all the IDs of the documents returned : 3) Do a second query for all fields and facets, adding a filter to : restrict result to those IDs collected in step 2. an easi

Re: Facet on a field with rows=n

2011-12-05 Thread Mark Schoy
Hi Kashif, that is not possible in solr. The facets are always based on all the documents matching the query. But there is a workaround: 1) Do a normal query without facets (you only need to request doc ids at this point) 2) Collect all the IDs of the documents returned 3) Do a second query for a