Thanks Jeff. Let me try this .I was actually looking for a way without doc routing. Do let me know if I can handle grouping through queries.
Thanks Preeti On Tue, May 24, 2016 at 2:08 AM, Jeff Wartes <jwar...@whitepages.com> wrote: > My first thought is that you haven’t indexed such that all values of the > field you’re grouping on are found in the same cores. > > See the end of the article here: (Distributed Result Grouping Caveats) > https://cwiki.apache.org/confluence/display/solr/Result+Grouping > > And the “Document Routing” section here: > > https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud > > If I’m right, you haven’t used the “amid” field as part of your doc > routing policy. > > > > On 5/23/16, 3:57 AM, "preeti kumari" <preeti.bg...@gmail.com> wrote: > > >Hi All, > > > >I am using grouping query with solr cloud version 5.2.1 . > >Parameters added in my query is > >&q=SIM*group=true&group.field=amid&group.limit=1&group.main=true. But each > >time I hit the query i get different results i.e top 10 results are > >different each time. > > > >Why is it so ? Please help me with this. > >Is there any way by which I can get consistent results from grouping query > >in solr cloud. > > > >Thanks > >Preeti > >