Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12B281084F for ; Mon, 29 Jul 2013 16:42:28 +0000 (UTC) Received: (qmail 1060 invoked by uid 500); 29 Jul 2013 16:42:24 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 1004 invoked by uid 500); 29 Jul 2013 16:42:24 -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 996 invoked by uid 99); 29 Jul 2013 16:42:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 16:42:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of SRS0=qp5/Sa=RL=basetechnology.com=jack@yourhostingaccount.com designates 65.254.253.128 as permitted sender) Received: from [65.254.253.128] (HELO mailout16.yourhostingaccount.com) (65.254.253.128) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 16:42:18 +0000 Received: from mailscan17.yourhostingaccount.com ([10.1.15.17] helo=mailscan17.yourhostingaccount.com) by mailout16.yourhostingaccount.com with esmtp (Exim) id 1V3qWD-0001Kr-LJ for solr-user@lucene.apache.org; Mon, 29 Jul 2013 12:41:57 -0400 Received: from impout01.yourhostingaccount.com ([10.1.55.1] helo=impout01.yourhostingaccount.com) by mailscan17.yourhostingaccount.com with esmtp (Exim) id 1V3qWD-0000MZ-4K for solr-user@lucene.apache.org; Mon, 29 Jul 2013 12:41:57 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout01.yourhostingaccount.com with NO UCE id 6Ghx1m0030BkWne01Ghxmd; Mon, 29 Jul 2013 12:41:57 -0400 X-Authority-Analysis: v=2.0 cv=EJGEIilC c=1 sm=1 a=UdCbmyego4VUa/xJBgcoFg==:17 a=aQzbgH187woA:10 a=UZ7nMI-1oUcA:10 a=3jZET7lWBKwA:10 a=8nJEP1OIZ-IA:10 a=jvYhGVW7AAAA:8 a=CC4Ajyu40iQA:10 a=mV9VRH-2AAAA:8 a=QRQm8V16AAAA:8 a=pGLkceISAAAA:8 a=CuR_v7ueosfVUH6hyKcA:9 a=wPNLvfGTeEIA:10 a=5UhAg7aNQ8cA:10 a=MSl-tDqOz04A:10 a=f5VzzcVV4KZ1YkVT:21 a=9FYpV-G11NXjOzTu:21 a=6Nsp9XPxgQEopsMv/m97rg==:117 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: 6Ghx1m0030BkWne01Ghxmd Received: from 207-237-114-232.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com ([207.237.114.232] helo=JackKrupansky) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1V3qVg-0008Ac-Bq for solr-user@lucene.apache.org; Mon, 29 Jul 2013 12:41:38 -0400 Message-ID: <41D05DF1C2474FA69AC982F2A2FA70AE@JackKrupansky> From: "Jack Krupansky" To: References: <1AE133CD-A408-49F7-BBA8-DDE68E2D868E@innoventsolutions.com> In-Reply-To: Subject: Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1 Date: Mon, 29 Jul 2013 12:41:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-EN-UserInfo: e0a4b55451ed9f27313ebf02e3d4348d:fc4a93e1349e680c52bdd723c0ab3ef6 X-EN-AuthUser: jack@basetechnology.com Sender: "Jack Krupansky" X-EN-OrigIP: 207.237.114.232 X-EN-OrigHost: 207-237-114-232.c3-0.nyr-ubr1.nyr.ny.cable.rcn.com X-Virus-Checked: Checked by ClamAV on apache.org Check the "/select" request handler in solrconfig. See if it defaults "start" or "rows". start is the initial document number (e.g., 1), and rows is the number of rows to actually return in the response (nothing to do with numFound). The internal Solr default is rows=10, but you can set it to 20, 50, 100, or whatever, but DO NOT set it to 0 unless you just want the header without any actual documents. -- Jack Krupansky -----Original Message----- From: Nitin Agarwal Sent: Monday, July 29, 2013 11:49 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4.3.1 - query does not return documents, just numFounds, 2 shards, replication Factor 1 Jason, all my fields are set with stored=ture and indexed = true, and I used select?q=*:*&fl=*,score but still I get the same response * 0 138 *,score *:* * Here is what my schema looks like * ** * Nitin On Mon, Jul 29, 2013 at 9:38 AM, Jason Hellman < jhellman@innoventsolutions.com> wrote: > Nitin, > > You need to ensure the fields you wish to see are marked stored="true" in > your schema.xml file, and you should include fields in your fl= parameter > (fl=*,score is a good place to start). > > Jason > > On Jul 29, 2013, at 8:08 AM, Nitin Agarwal <2nitinagarwal@gmail.com> > wrote: > > > Hi, I am using Solr 4.3.1 with 2 Shards and replication factor of 1, > > running on apache tomcat 7.0.42 with external zookeeper 3.4.5. > > > > When I query "select?q=*:*" > > > > I only get the number of documents found, but no actual document. When I > > query with rows=0, I do get correct count of documents in the index. > > Faceting queries as well as group by queries also work with rows=0. > > However, when rows is not equal to 0 I do not get any documents. > > > > When I query the index I see that a query is being sent to both shards, > and > > subsequently I see a query being sent with just ids, however, after that > > query returns I do not see any documents back. > > > > Not sure what do I need to change, please help. > > > > Thanks, > > Nitin > >