If your issue is that you want to retrieve the number of groups,
group.ngroups will return the sum of the number of groups per shard.
This is not the number of groups overall as there if some groups are present
on more than one shard.
To make sure that this does not happen, one can choose to dist
Hello Paul,
Can you please explain what you mean by:
"To get the exact number of groups, you need to shard along your grouping
field"
Thanks! :)
On Wed, Jul 31, 2013 at 3:08 AM, Paul Masurel wrote:
> Do you mean you get different results with group=true?
> numFound is supposed returns the numb
Do you mean you get different results with group=true?
numFound is supposed returns the number of ungrouped hits.
To get the number of groups, you are expected to set
set group.ngroups=true.
Even then, the result will only give you an upperbound
in a distributed environment.
To get the exact numbe
Hello all,
Is anyone experiencing issues with the numFound when using group=true in
SolrCloud 4.4?
Sometimes the results are off for us.
I will post more details shortly.
Thanks.