lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <ning.li...@gmail.com>
Subject Re: NewIndexModifier - - - DeletingIndexWriter
Date Sun, 11 Feb 2007 01:17:41 GMT
On 2/9/07, Michael McCandless <lucene@mikemccandless.com> 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!

Cheers,
Ning

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