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 172DA200B50 for ; Sat, 13 Aug 2016 23:26:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 15A1C160AA6; Sat, 13 Aug 2016 21:26:53 +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 5B65F160A73 for ; Sat, 13 Aug 2016 23:26:52 +0200 (CEST) Received: (qmail 16534 invoked by uid 500); 13 Aug 2016 21:26:50 -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 16518 invoked by uid 99); 13 Aug 2016 21:26:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2016 21:26:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D56251A0D10 for ; Sat, 13 Aug 2016 21:26:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cominvent-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qphTR8OFU4IQ for ; Sat, 13 Aug 2016 21:26:45 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 02FD05F39C for ; Sat, 13 Aug 2016 21:26:43 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id f65so32578733wmi.0 for ; Sat, 13 Aug 2016 14:26:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cominvent-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=wRC4JUQjW7trQAaaGx+897W+JjPrepm37BN18B6i/Z0=; b=uvSmHkQdC1te+bQAQGw2rEM2esBO0xSFxHmbBvzln8eHQE0zEvvpwyapVGihP4Mqx4 aHmvyCVQdVe8b4CCv7SXwKo/pMczTg8eMOZI0/x24DV40KfTKqTznWOcip1zBN6PQ3sR 9PvacovnMDib4yuFpIzR9j/fE1w9Xy21h7A4jZTLNSslMnQgx7fQ7pWlWY9mCvrfhMWZ HhmY6IniCBwS1JSGIQOD3tIJ0RnfIHLZppNThpt6KeYAUnsb0xDkRK/9VZFe3nvRWsDW dgrUOjcMVJ2I0+PEOdzYVofEXjUAXFXuUV0Is7G9zFMCMFMucpTXrG/zKXjXMa510Rmj 2aUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=wRC4JUQjW7trQAaaGx+897W+JjPrepm37BN18B6i/Z0=; b=mSPargFc/inWDROJMn0WZKCxGgs/kyOOsJLqfCO9BdzTDV/4fZs9YAV02lGKvlSFYn R7kArxrswK78+GKHZAz0AQSsmzr7AuldFFsxKJsmCdRp5//mGJDL++Ebdp2HdsLS2es2 zNh3ccd8R9r1tDgrUevSiuN4+Hym8QpGSlYSdpWpG36mbJUitS3cqRlsce2rHTW57IFR laM2aKDLQ5C8lWmIWh6VVit8vcjF/eeNsb+KzhJtmMgIjERKCB1T1kObY0TrPECB+17A Rwk9hDZEYgrFSNl5GljBJhnp2+ijI3fJ4Eo92ZLvllCj3uyvdfZpP1CYHItsrINiwNCp KBRA== X-Gm-Message-State: AEkoousp2UfrD2KYrMYF9Ysn1K8wNeC5Tw5Esl4e0O2wKQlZu9YWA5kq4Ye4kD8bbGzS8w== X-Received: by 10.25.31.9 with SMTP id f9mr3375271lff.34.1471123601569; Sat, 13 Aug 2016 14:26:41 -0700 (PDT) Received: from [192.168.0.11] (cm-84.211.180.8.getinternet.no. [84.211.180.8]) by smtp.gmail.com with ESMTPSA id 62sm2468529ljj.3.2016.08.13.14.26.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Aug 2016 14:26:40 -0700 (PDT) From: =?utf-8?Q?Jan_H=C3=B8ydahl?= Content-Type: multipart/alternative; boundary="Apple-Mail=_8FBF4E9E-8967-48C3-8DD4-A38E2F4B3606" Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3212\)) Subject: Re: Inconsistent results with solr admin ui and solrj Date: Sat, 13 Aug 2016 23:26:38 +0200 References: To: solr-user@lucene.apache.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3212) archived-at: Sat, 13 Aug 2016 21:26:53 -0000 --Apple-Mail=_8FBF4E9E-8967-48C3-8DD4-A38E2F4B3606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Could it be that your cluster is not in sync, so that when Solr picks = three nodes, results will vary depending on what replica answers? A few questions: a) Is your index static, i.e. not being updated live? b) Can you try to go directly to the core menu of both replicas for each = shard, and compare numDocs / maxDocs for each? Both replicas in each = shard should have same count. c) What are you querying on and sorting by? Does it happen with only one = query and sorting? d) Are there any errors in the logs? If possible, please share some queries, responses, config, screenshots = etc. -- Jan H=C3=B8ydahl, search solution architect Cominvent AS - www.cominvent.com > 13. aug. 2016 kl. 12.10 skrev Pranaya Behera : >=20 > Hi, > I am running solr 6.1.0 with solrcloud. We have 3 instance of = zookeeper and 3 instance of solrcloud. All three of them are active and = up. One collection has 3 shards, each shard has 2 replicas. >=20 > Everytime query whether from solrj or admin ui, getting inconsistent = results. e.g. > 1. numFound is always fluctuating. > 2. facet count shows the count for a field, filter query on that field = gets 0 results. > 3. luke requests work(not sure whether gives correct info of all the = dynamic field) on per shard not on collection when invoked from curl but = doesnt work when called from solrj. > 4. admin ui shows expanded results, same query goes from solrj, = getExpandedResults() gives 0 docs. >=20 > What would be cause of all this ? Any pointer to look for an error = anything in the logs. --Apple-Mail=_8FBF4E9E-8967-48C3-8DD4-A38E2F4B3606--