lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
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.


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

View raw message