Re: Grouping and result pagination

2017-03-21 Thread Shawn Heisey
On 3/21/2017 10:34 AM, Shawn Heisey wrote: > Restating the original problem: I cannot paginate through the groups > in a grouped query. The first page works, subsequent pages do not. I > have a distributed index. Co-locating documents in the same group > onto the same shard is going to require

Re: Grouping and result pagination

2017-03-21 Thread Shawn Heisey
On 3/17/2017 9:26 AM, Shawn Heisey wrote: On 3/17/2017 9:07 AM, Erick Erickson wrote: "group.ngroups and group.facet require that all documents in each group must be co-located on the same shard in order for accurate counts to be returned." That is not how things work right now. The index has 1

Re: Grouping and result pagination

2017-03-17 Thread Shawn Heisey
On 3/17/2017 9:07 AM, Erick Erickson wrote: > I think the answer is that you have to co-locate the docs with the > same value you're grouping by on the same shard whether in SolrCloud > or not... > > Hmmm: from: > https://cwiki.apache.org/confluence/display/solr/Result+Grouping#ResultGrouping-Dist

Re: Grouping and result pagination

2017-03-17 Thread Erick Erickson
I think the answer is that you have to co-locate the docs with the same value you're grouping by on the same shard whether in SolrCloud or not... Hmmm: from: https://cwiki.apache.org/confluence/display/solr/Result+Grouping#ResultGrouping-DistributedResultGroupingCaveats "group.ngroups and group.