> My problem is that the index update procedure and the searches could run > simultaneously, and, if they do, they corrupt the index file. > Is there a way to let Lucene handle this concurrency automatically (like > stop the searches till the update is finished)?
Lucene does not handle this by itself but relies on outside synchronization. You might want to have a look at LuceneIndexAccessor (please see http://issues.apache.org/bugzilla/show_bug.cgi?id=34995) -- Maik Schreiber * http://www.blizzy.de GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1F11D713 Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]