Anshum wrote:

But the downside to this would be, in case your daemon crashes in the
meantime or you need to restart the daemon, the index would not be usable
until you have completed your indexing processs.

This isn't quite true. If you open IndexWriter with autoCommit=false, then none of the changes you do with it will be visible to an IndexReader, even one reopened while IndexWriter is doing its work, until you close the IndexWriter.

With autoCommit=true, it's true IndexWriter will periodically make some part of the changes visible to a reader that reopens.

Mike

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

Reply via email to