Re: Grouping ngroups count

2012-05-02 Thread Martijn v Groningen
Hi Francois, The issue you describe looks like a similar issue we have fixed before with matches count. Open an issue and we can look into it. Martijn On 1 May 2012 20:14, Francois Perron wrote: > Thanks for your response Cody, > >  First, I used distributed grouping on 2 shards and I'm sure th

Re: Grouping ngroups count

2012-05-01 Thread Francois Perron
Thanks for your response Cody, First, I used distributed grouping on 2 shards and I'm sure then all documents of each group are in the same shard. I take a look on JIRA issue and it seem really similar. There is the same problem with group.ngroups. The count is calculated in second pass s

RE: Grouping ngroups count

2012-05-01 Thread Young, Cody
Hello, When you say 2 slices, do you mean 2 shards? As in, you're doing a distributed query? If you're doing a distributed query, then for group.ngroups to work you need to ensure that all documents for a group exist on a single shard. However, what you're describing sounds an awful lot like t