Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 91668 invoked from network); 17 Dec 2008 05:59:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 05:59:26 -0000 Received: (qmail 46589 invoked by uid 500); 17 Dec 2008 05:59:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 46443 invoked by uid 500); 17 Dec 2008 05:59:32 -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 46432 invoked by uid 99); 17 Dec 2008 05:59:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 21:59:32 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.104.129.195] (HELO ind-iport-1.cisco.com) (64.104.129.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 05:59:10 +0000 X-IronPort-AV: E=Sophos;i="4.36,235,1228089600"; d="scan'208";a="36477593" Received: from hkg-dkim-1.cisco.com ([10.75.231.161]) by ind-iport-1.cisco.com with ESMTP; 17 Dec 2008 05:58:47 +0000 Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id mBH5wk1F007409 for ; Wed, 17 Dec 2008 13:58:46 +0800 Received: from xbh-blr-411.apac.cisco.com (xbh-blr-411.cisco.com [64.104.140.150]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id mBH5vBgD011769 for ; Wed, 17 Dec 2008 05:58:46 GMT Received: from xfe-blr-412.apac.cisco.com ([64.104.140.152]) by xbh-blr-411.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 17 Dec 2008 11:28:03 +0530 Received: from [10.65.73.3] ([10.65.73.3]) by xfe-blr-412.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 17 Dec 2008 11:28:02 +0530 Message-ID: <494894D2.9010901@cisco.com> Date: Wed, 17 Dec 2008 11:27:38 +0530 From: Preetham Kajekar User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Combining results of multiple indexes Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Dec 2008 05:58:03.0101 (UTC) FILETIME=[6C6210D0:01C9600C] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=694; t=1229493526; x=1230357526; c=relaxed/simple; s=hkgdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=preetham@cisco.com; z=From:=20Preetham=20Kajekar=20 |Subject:=20Combining=20results=20of=20multiple=20indexes |Sender:=20; bh=g79LyxV1C6ptXGIShFryzyUtti+bhVz5xgP8FNJtZv4=; b=M17o2NyOv/q1cn6QgLFpiMV/gJCXYtr3+ZpM6cqriMeWgu9cJcXMBaAdRQ 8k/NbW/hQj3Sexj3UU0dRhgFy+LGqOqGhmzonA7T4vJ/PPHekYmJbqT/ukRE k32UlgcbXoF2T5bOXiUYcuMJB86v2btdx41jkku8Ro65FT2UocHV8=; Authentication-Results: hkg-dkim-1; header.From=preetham@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim1002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org 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. 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