Thank you Tanguy. This seems to work:
group = true
group.field = Category
group.limit = 5
http://wiki.apache.org/solr/FieldCollapsing
group.limit
[number]
The number of results (documents) to return for each group. Defaults to 1.
On Thu, Aug 23, 2012 at 1:33 AM, Tanguy Moal wrote:
> Hello K
Hello Kiran,
I think you can try turning grouping on and group "on", and ask solr to
group on the "Category" field.
Nevertheless, this will *not* ensure you that groups are returned in facet
counts order. This will *not* ensure you the mincount per group neither.
Hope this helps,
--
Tanguy
201