lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <>
Subject Re: updating index
Date Fri, 02 Mar 2007 07:05:13 GMT

Daniel Noll <> wrote on 01/03/2007 22:10:15:

> > API IndexWriter.updateDocument() may be useful.
> Whoa, nice convenience method.
> I don't suppose the new document happens to be given the same ID as the
> old one.  That would make many people's lives much easier. :-)

Oh no, this aspect is as it was - the document(s) is deleted, and re-added.
However due to the buffering of deletes in IndexWriter, the application no
longer needs to take care of batching the deletes for performance
considerations - this is taken care of by IndexWriter.

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

View raw message