lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <>
Subject Re: NewIndexModifier - - - DeletingIndexWriter
Date Sun, 11 Feb 2007 01:17:41 GMT
On 2/9/07, Michael McCandless <> wrote:
> I agree w/ Hoss: the way NewIndexModifier works, if you don't do any
> deletes then there's no added cost (well, only some if statements) to
> the "addDocument only" case because no readers are opened during the
> flush when there are no deletes.  Maybe the original patch was
> different in this regard?

Just get a chance to read this thread. "No added cost to the
addDocument only case" is true for all the patches of LUCENE-565. The
first patch added delete methods to IndexWriter directly. The latest
patch with NewIndexModifier's methods moved back to IndexWriter looks
good. Thanks for doing it, Mike!


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

View raw message