On 2/9/07, Michael McCandless <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to