Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 22262 invoked from network); 17 Dec 2008 14:11:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 14:11:17 -0000 Received: (qmail 39171 invoked by uid 500); 17 Dec 2008 14:11:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 39132 invoked by uid 500); 17 Dec 2008 14:11:22 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 39121 invoked by uid 99); 17 Dec 2008 14:11:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 06:11:22 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [208.97.132.83] (HELO spunkymail-a4.g.dreamhost.com) (208.97.132.83) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 14:11:08 +0000 Received: from [192.168.0.3] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a4.g.dreamhost.com (Postfix) with ESMTP id 8DF053B9FC for ; Wed, 17 Dec 2008 06:10:44 -0800 (PST) Message-Id: <5B9C9A9A-FFA3-409B-9114-B916D9B0C1AA@apache.org> From: Grant Ingersoll To: java-user@lucene.apache.org In-Reply-To: <494894D2.9010901@cisco.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Combining results of multiple indexes Date: Wed, 17 Dec 2008 09:10:39 -0500 References: <494894D2.9010901@cisco.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 17, 2008, at 12:57 AM, Preetham Kajekar wrote: > Hi, > I am new to Lucene. I am not using it as a pure text indexer. > > I am trying to index a Java object which has about 10 fields (like > id, time, srcIp, dstIp) - most of them being numerical values. > In order to speed up indexing, I figured that having two separate > indexers, each of them indexing different set of fields works great. > So I have the first 5 fields in index1 and the remaining in index2. Can you explain this a bit more? Are those two fields really large org something? How are you obtaining them? How are you correlating the documents between the two indexes? Did you actually try a single index and it was too slow? > > > Now, I want to have boolean AND query's looking for values in both > indexes. Like f1=1234 AND f7=ABCD.f1 and f7 and present in two > separate indexes. Would using the MultiIndexReader help ? Since I am > doing an AND, I dont expect that it would work. > > Thanks, > ~preetham > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > -------------------------- Grant Ingersoll Lucene Helpful Hints: http://wiki.apache.org/lucene-java/BasicsOfPerformance http://wiki.apache.org/lucene-java/LuceneFAQ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org