lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject Re: searches and updates concurrency problem
Date Mon, 06 Jun 2005 18:06:16 GMT
On Monday 06 June 2005 11:11, Stefano Buliani wrote:

> My problem is that the index update procedure and the searches could run
> simultaneously, and, if they do, they corrupt the index file.

Search is a read-only thing, so why should it corrupt the index? Even 
having several writers at the same time will not corrupt the index, you'll 
get an IOException because of the lock files instead.

Regards
 Daniel

-- 
http://www.danielnaber.de

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


Mime
View raw message