lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donna L Gresh <gr...@us.ibm.com>
Subject Re: incremental update of index
Date Mon, 10 Nov 2008 19:53:02 GMT
ChadDavis <chadmichaeldavis@gmail.com> wrote on 11/10/2008 02:22:45 PM:

> In the FAQ's it says that you have to do a manual incremental update:
> 
> How do I update a document or a set of documents that are already 
indexed?
> >
> > There is no direct update procedure in Lucene. To update an index
> > incrementally you must first *delete* the documents that were updated, 
and
> > *then re-add* them to the index.
> >
> 
> How do I determine the existing document that matches the document I am
> updating?

Most applications of this sort include a unique identifier for a document, 
so
that it is easy to delete the document (by issuing a query on the 
identifier)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message