Looks like I got myself into a twist for nothing - the reader will see a
consistent view, despite what the writer does as long as the reader remains open.
Appologies for the noise...
Antony
-
To unsubscribe, e-mail: [EMAIL PR
Using Lucene 2.1
Antony Bowesman wrote:
My application batch adds documents to the index using
IndexWriter.addDocument. Another thread handles searchers, creating new
ones as needed, based on a policy. These searchers open a new
IndexReader and there is currently no synchronisation between t
My application batch adds documents to the index using IndexWriter.addDocument.
Another thread handles searchers, creating new ones as needed, based on a
policy. These searchers open a new IndexReader and there is currently no
synchronisation between this action and any being performed by my w