lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lock-less commits
Date Mon, 21 Aug 2006 02:33:02 GMT
robert engels wrote:
> I don't think you can do this. If two different writers are opened for 
> the same indexed, you always need to read the directory since the other 
> may have created new segments.

This case should be OK.  You have to close one IndexWriter before 
opening the other (only 1 writer at a time per index), so when the other 
one is opened it would refresh it's "deletable" list.

Mike

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


Mime
View raw message