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.


     karl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to