lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Combining results of multiple indexes
Date Wed, 17 Dec 2008 14:10:39 GMT

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:
> For additional commands, e-mail:

Grant Ingersoll

Lucene Helpful Hints:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message