You have to set group.ngroups=true (see
http://wiki.apache.org/solr/FieldCollapsing). Be aware that including the
number of groups is a surprisingly heavy operation, though.

Teun


2013/2/25 Nicholas Ding <nicholas...@gmail.com>

> Hello,
>
> I grouped the result, and set group.main=true. I was expecting the numFound
> equals to the number of groups, but actually it was not.
>
> How do I get the number of groups?
>
> Thanks
> Nicholas
>

Reply via email to