lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <>
Subject Re: Locks and Readers and Writers
Date Thu, 28 Oct 2004 09:49:32 GMT wrote:

> 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.

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.


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

View raw message