lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Re: instantiated index in 2.4
Date Mon, 15 Sep 2008 16:51:14 GMT

15 sep 2008 kl. 18.45 skrev Cam Bazz:

> I have been looking at instantiated index in the trunk. Does this come
> with a searcher?

Pass an InstantiatedIndexReader to the constructor of an IndexSearcher.

> Are the adds reflected directly to the index?

Yes. An InstantiatedIndexReader is always current. You will probably  
still have to reconstruct your searcher. I never really looked in to  
what happends if you don't.

Recommended use is that you consider an InstantiatedIndex immutable,  
mainly because it is lockless.


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

View raw message