Hi Shreejay,
Thanks for the info.
I read about this too but as far as I understand this this feature is
not really usefull in my case.
This means I would have to reindex my documents just to get the grouping
that I need now.
It would be OK to do that one time but I would have to do that again
when I maybe want to group on another field too in a few weeks.
Thanks,
Markus
On 14.06.2013 20:28, Shreejay wrote:
Hi Markus,
For ngroups to work in a cloud environment you have to make sure that all docs
belonging to a group reside on the same shard. Custom hashing has been
introduced in the recent versions of solr cloud. You might want to look into
that
https://issues.apache.org/jira/browse/SOLR-2592
All queries on SolrCloud are run individually on each shard. And then the
results are merged. When u run a group query SolrCloud runs the query on each
shard and when the results are merged the ngroups from each shard are added up.
This is why the ngroups is incorrect when using SolrCloud.