lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter W." <>
Subject Re: In memory MultiSearcher
Date Tue, 22 May 2007 21:52:18 GMT

My Lucene scaling strategy involves creating
numerous indexes, so I was looking for a way
to read them in together for quickness.

For those interested, your suggestion of using a
single IndexSearcher on a MultiReader works well
by itself.

Or, you can still place in memory like this:

IndexReader[] indexr_a=

          MultiReader mr=new MultiReader(indexr_a);
          IndexSearcher is=new IndexSearcher(mr);


Peter W.

On May 22, 2007, at 1:10 AM, Chris Hostetter wrote:

> ...and if you are "Multi Searching" over a bunch of local directories
> anyway, then use a single INdexSearcher on a MultiReader instead ...
> that should be much faster then youre MultiSearcher.

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

View raw message