lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Question regarding Index Update
Date Mon, 09 Jul 2007 13:47:37 GMT
No, Lucene doesn't support just updating a field in a document. You
must delete/re-add it as you suppose.

And you are correct, the UpdateDocument feature just conceals the
underlying delete/add functionality, it's not update-in-place.

Best
Erick

On 7/9/07, Sonu SR <sonusr@gmail.com> wrote:
>
> Hi,
> My application using lucene index. The index documents having number of
> fields. We have around 5 million such documents. I have problem with
> regular
> update of some of the fields in the document. So every update I need to
> delete and index that updated documents. This is a huge task. I know from
> version 2.1 lucene added update Document feature. But I think this is also
> just like my process(first delete and index). Is lucene supports the
> update
> of particular fields only, like database? ie:- without deleting the
> document
>
> Thanks,
> Sonu
>

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