views:

29

answers:

2

/select/?q=*:*&rows=100&facet=on&facet.field=category

Say I have around a lakh documents indexed. But i return only 100 documents using rows=100. The facet counts returned for category, however return the counts for all documents indexed.

Can we somehow restrict the facets to the resultset returned? i.e 100 rows only?

A: 

Sorry, but i don't think it is possible. The facets are always based on all the documents matching the query.

Pascal Dimassimo