Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 5881 invoked from network); 4 Mar 2010 05:50:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 05:50:13 -0000 Received: (qmail 87988 invoked by uid 500); 4 Mar 2010 05:50:02 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 87820 invoked by uid 500); 4 Mar 2010 05:50:02 -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 87809 invoked by uid 99); 4 Mar 2010 05:50:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 05:50:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 05:49:52 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Nn3wB-0004Fu-Mq for solr-user@lucene.apache.org; Wed, 03 Mar 2010 21:49:31 -0800 Message-ID: <27777152.post@talk.nabble.com> Date: Wed, 3 Mar 2010 21:49:31 -0800 (PST) From: JavaGuy84 To: solr-user@lucene.apache.org Subject: Re: Confused with Shards multicore search results In-Reply-To: <87c998321003032112p3dbe0efbw6f44f97d0a12351c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bbarani@gmail.com References: <27776478.post@talk.nabble.com> <87c998321003032112p3dbe0efbw6f44f97d0a12351c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks a lot for your reply, I will surely try this.. I have a requirement to index 2 diff schema's but need to do a search on both using a single url. Is there a way I can have 2 diff schema's / data config file and do a search on both the indexes using a single URL (like using Shards?) Thanks, Barani Lance Norskog-2 wrote: > > "different unique id for each schema.xml file." > > All cores should have the same schema file with the same unique id > field and type. > > Did you mean that the documents in both cores have a different value > for the unique id field? > > On Wed, Mar 3, 2010 at 6:45 PM, JavaGuy84 wrote: >> >> Hi, >> >> I finally got shards work with multicore but now I am facing a different >> issue. >> >> I have 2 seperate schema / data config files for each core. I also have >> different unique id for each schema.xml file. >> >> I indexed both the cores and I was able to successfully search >> independently >> on each core but when I used Shards, I didnt get what I expected. For ex: >> >> http://localhost:8990/solr/core0/select?q=10000565 returned 1 row >> http://localhost:8990/solr/core1/select?q=10000565 returned 1 row >> >> When I tried this >> http://localhost:8990/solr/core0/select/?q=10000565&shards=localhost:8990/solr/core0,localhost:8990/solr/core1 >> >> It again returned just one row.. but I would think that it should return >> 2 >> rows if I have different unique id for each document. >> >> Is there any configuration I need to do in order to make it searchable >> across multiple indexex? any primary / slave configuration? any help >> would >> be of great help to me. >> >> Thanks a lot in advance. >> >> Thanks, >> Barani >> -- >> View this message in context: >> http://old.nabble.com/Confused-with-Shards-multicore-search-results-tp27776478p27776478.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > > -- > Lance Norskog > goksron@gmail.com > > -- View this message in context: http://old.nabble.com/Confused-with-Shards-multicore-search-results-tp27776478p27777152.html Sent from the Solr - User mailing list archive at Nabble.com.