ngroups does not show correct number of groups when used in SolrCloud

2013-06-14 Thread Markus.Mirsberger
Hi, I just noticed (after long time testing and finally looking into the docu :p) that the ngroups parameter does not show the correct number of groups when used in anything else than a single shard environment (in my case SolrCloud). Is there another way to get the amount of all groups

Re: ngroups does not show correct number of groups when used in SolrCloud

2013-06-14 Thread Shreejay
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

Re: ngroups does not show correct number of groups when used in SolrCloud

2013-06-14 Thread Markus.Mirsberger
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