I'm not sure if i'm completley following this thread, but i wanted to point out hte existence of this bug in case it's causing problems in your specific case...
https://issues.apache.org/jira/browse/SOLR-4310 ...there is a patch on that issue, but some unresolved questions about wether it works correctly in distributed cases. If youd like to try it out and post comments about ewther it works for you (or even better: help write some additional tests) that would be helpful towards getting it committed. : Date: Tue, 31 Dec 2013 08:07:50 -0800 (PST) : From: tasmaniski <tasmani...@gmail.com> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Grouping results with group.limit return wrong numFound ? : : @kamaci : Ofcourse. That is the problem. : : "group.limit is: the number of results (documents) to return for each : group." : NumFound is number of total found, but *not* sum number of *return for each : group.* : : @Liu Bo : seems to be the is only workaround for problem but : it's to much expensive to go through all the groups and calculate total : number of found/returned (I use PHP for client:) ). : : @iorixxx : Yes, I consider that (group.ngroups=true) : but in some group I have number of found result lesser than limit. : : : : -- : View this message in context: http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174p4108906.html : Sent from the Solr - User mailing list archive at Nabble.com. : -Hoss http://www.lucidworks.com/