[EMAIL PROTECTED] wrote:

I'm getting:
java.io.IOException: Lock obtain timed out

I have
a writer service that opens the index to delete and add docs.  I have a reader
service that opens the index for searching only.

AFAIK you should never open an IndexWriter and an IndexReader at the same time. You should use only one of them at a time but you may open as many IndexSearchers as you like for searching.


Regards,
Christoph


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



Reply via email to