Thanks Teun and Carlos, I set group.ngroups=true, but I don't have this "ngroup" number when I was using group.main = true.
On Mon, Feb 25, 2013 at 12:02 PM, Carlos Maroto < cmar...@searchtechnologies.com> wrote: > Use group.ngroups, check it in the Solr wiki for FieldCollapsing > > Carlos Maroto > Search Architect at Search Technologies (www.searchtechnologies.com) > > > > Nicholas Ding <nicholas...@gmail.com> wrote: > > > 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 >