Otis or Erik, do you know if a Reader continously opening should cause the
Writer to fail with a "Lock obtain timed out" error?
No need to address individuals here.
With the information provided, I have no idea what the issue may be. There certainly is no issue reading and writing to an index at the same time, but only one process can be writing/deleting from the index at a time.
Erik
--- Lucene Users List" <[EMAIL PROTECTED] wrote: The attached Java file shows a locking issue that occurs withThe other threadLucene.
One thread opens and closes an IndexReader.opens an IndexWriter, adds a document and then closestherun without an issues.IndexWriter. I would expect that this app should be able to happilyobtain timed out
It fails with: java.io.IOException: Lockwhile a
Is this expected? I thought a Reader could be openedWriter is adding a document.
Any help is appreciated.
---------------------------------------------------------------------
additional commands, e-mail: [EMAIL PROTECTED]To unsubscribe, e-mail: [EMAIL PROTECTED] For
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]