lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yahootintin.1247...@bloglines.com
Subject Locks and Readers and Writers
Date Wed, 27 Oct 2004 21:33:02 GMT
Hi,

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.

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.

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

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message