Hi,
I am performing the same activity that you have specified. I have indexer as
a thread which starts at the server start up and searcher as a web app.
I am managing the index reader and writer objects using a factory. This
factory is a singleton instance which maintains one writer, reader and a
Hi,
I think you have to use IndexReader.isCurrent and then reopen the reader
if there are changes.
You will need an automatism that periodically checks if any changes
where made to the index. If that happens und need to reopen the your reader.
But a real lucene expert maybe can give you a bet