lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aad Nales" <>
Subject what happen with an 'open' IndexSearcher when the index files are 'changed'.
Date Wed, 06 Oct 2004 12:15:56 GMT
Hi All,

Based on some recent comments that open IndexSearchers should be cached
I am implementing an IndexSearcherPool based on the pool implementation
in the jakarta.commons.

My question is this:

When I run a full reindex, i build a new temporary index and once it is
done I move it to where the previous location was. This seems pretty
much standard. My question is is what happens with an IndexSearcher

1. it has been created with an File() object to the old index. It
searches a few times but does not close. The reindex occurs and the new
index comes to live? Do they crash when the next query is fired?

2. the same but now during a search?

Thanks for any insights,

Aad Nales, +31-(0)6 54 207 340 

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

View raw message