Hi Tommaso, the FacetComponent works with the DocListAndSet#docSet. It should be easy to switch to DocListAndSet#docList (which contains all documents for result list (default: TOP-10, but possible 15-25 (if start=15, rows=11). Which means to change the source code.
Instead of changing the source-code the easier way should be to send a second request with relevance-Filter (if your sort-criteria is relevance): http://lucene.472066.n3.nabble.com/Filter-by-relevance-td1837486.html Best regards Karsten http://lucene.472066.n3.nabble.com/Showing-facet-of-first-N-docs-td3071395.html -------- Original-Nachricht -------- > Datum: Thu, 16 Jun 2011 12:39:32 +0200 > Von: Tommaso Teofili <tommaso.teof...@gmail.com> > An: solr-user@lucene.apache.org > Betreff: Showing facet of first N docs > Hi all, > Do you know if it is possible to show the facets for a particular field > related only to the first N docs of the total number of results? > It seems facet.limit doesn't help with it as it defines a window in the > facet constraints returned. > Thanks in advance, > Tommaso