lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Locks and Readers and Writers
Date Wed, 27 Oct 2004 21:33:02 GMT

I'm getting: 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.

This error occurs when
the reader service opens the index (this takes about 500ms).  Meanwhile the
writer service tries to open it a couple milliseconds later.  The reader service
hasn't fully opened the index yet and this exception gets thrown.

are my options?  Should I just set the timeout to a higher value?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message