Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06BE3200A5B for ; Wed, 25 May 2016 14:56:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 05A0C160A18; Wed, 25 May 2016 12:56:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4C5BE160A17 for ; Wed, 25 May 2016 14:56:49 +0200 (CEST) Received: (qmail 668 invoked by uid 500); 25 May 2016 12:56:47 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 627 invoked by uid 99); 25 May 2016 12:56:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2016 12:56:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0168718132C for ; Wed, 25 May 2016 12:30:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CikQB0B7A4D8 for ; Wed, 25 May 2016 12:30:30 +0000 (UTC) Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 241345F1EB for ; Wed, 25 May 2016 12:30:30 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id fh2so27582545igd.1 for ; Wed, 25 May 2016 05:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=W05yzO5Vz8cGwRqOfTySn2C+6fx5Nkzp5qRFv/vV2Eg=; b=pnx/dNFAUBRyAF0Hcfs122RG/KtI5ovwMm2qEDYw/l8HoTmZBj5wTLmCWlRcAn+PhB T3UxyyvV29hqeRUyOxeb29LuW1gmp8i8VfteXhTRJQdqbCX147UpreWmkVwcGlyHyUTM xOHWC0cnILrSYb6g02TuREAHefRaQ/BToko1O7ofBeUbIQbtgu2s0f0rB9XQ0D33fv7c 6tD2CFqgCAWBUSrbxjCazBpZMc2wxZOH4oSd9P7Ld3OUbrZWtkoeTiDjwG+Ip/tIk375 UJAmbDmRd9lvS2JQ/pXXp6VqmFEVvsYycD826ilxc7TxzG7jvNFojQRDFV6ivtazYpvu LnGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=W05yzO5Vz8cGwRqOfTySn2C+6fx5Nkzp5qRFv/vV2Eg=; b=jIjudEmXQ8oTBHOxxL7m3JA7WQnEr/54bqF/izsrDfWL3yuUNLkutJfnvqGj6mTsPr J+xgdn3RXxF4DW0P18HQZVjs1NH4PR/qjBOXMC8wXB2Tj9v+kHbCYNny6b0keUK5FLlv WAxEYas4/6J2t2VGnD3ZqOEvyIWRHGthywsYBIY+8fh7+MMJtuez13tWtcugDIjQ60CU 1M2Dv8ojsqkb/g7bSaDMPBjMckEc5/Zah4sEzTyLOzpLlQ1yK+TPLlHb9Sc0wDLr1PAq EaGo4MyTuyukw2unDzA0527+IzTOhFl2oGLvCBJaovGdesm7R2bvoIeIASS5VrzmfZw3 yNmg== X-Gm-Message-State: ALyK8tJC5tFSB12wRkymWNUtZbKGtU/h+XpGzzE8UejhMMYGo76j8qC9uFK2oJC47LtQvID4zQSykw21/lzrTg== MIME-Version: 1.0 X-Received: by 10.50.111.36 with SMTP id if4mr17394362igb.20.1464179423571; Wed, 25 May 2016 05:30:23 -0700 (PDT) Received: by 10.79.118.66 with HTTP; Wed, 25 May 2016 05:30:23 -0700 (PDT) In-Reply-To: <7D10DDF6-96E8-4415-AE43-F330FF953D45@whitepages.com> References: <7D10DDF6-96E8-4415-AE43-F330FF953D45@whitepages.com> Date: Wed, 25 May 2016 18:00:23 +0530 Message-ID: Subject: Re: Solr cloud with Grouping query gives inconsistent results From: preeti kumari To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e01494e7c6e1d190533a9d6df archived-at: Wed, 25 May 2016 12:56:50 -0000 --089e01494e7c6e1d190533a9d6df Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrote= : > My first thought is that you haven=E2=80=99t indexed such that all values= of the > field you=E2=80=99re 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 =E2=80=9CDocument Routing=E2=80=9D section here: > > https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data= +in+SolrCloud > > If I=E2=80=99m right, you haven=E2=80=99t used the =E2=80=9Camid=E2=80=9D= field as part of your doc > routing policy. > > > > On 5/23/16, 3:57 AM, "preeti kumari" wrote: > > >Hi All, > > > >I am using grouping query with solr cloud version 5.2.1 . > >Parameters added in my query is > >&q=3DSIM*group=3Dtrue&group.field=3Damid&group.limit=3D1&group.main=3Dtr= ue. 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 que= ry > >in solr cloud. > > > >Thanks > >Preeti > > --089e01494e7c6e1d190533a9d6df--