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 16:34:30 GMT
Then I think you'll be disappointed. Search the archive for phrases
like "update in place" and you'll see a discussion of why this isn't
as straight-forward as you might think.

Best
Erick

On 7/9/07, Sonu SR <sonusr@gmail.com> wrote:
>
> Thanks Erik. Is the field update is too difficult task in lucene? I expect
> this feature also in lucene, in near future.
>
> On 7/9/07, Erick Erickson <erickerickson@gmail.com> wrote:
> >
> > 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