You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by "Kodumuri, Madhavi" <MK...@cme.com> on 2006/01/24 20:23:16 UTC

updating Lucene Index

Hi,

My Lucene Indexer indexes from scratch with no problem. But I would like
to update the index database next time I run Indexer rather than
deleting the database and creating index from scratch every time I run
the Indexer. Is there any Update methods? 
Any help appreciated,

Thanks, 

Madhavi Kodumuri


RE: updating Lucene Index

Posted by Koji Sekiguchi <ko...@m4.dion.ne.jp>.
even if you use IndexModifier class,
you should delete then addDoc the document to be updated.

Thanks,

Koji

> -----Original Message-----
> From: Fredrik Andersson [mailto:fidde.andersson@gmail.com]
> Sent: Wednesday, January 25, 2006 6:58 AM
> To: general@lucene.apache.org
> Subject: Re: updating Lucene Index
>
>
> Hi,
>
> Use the IndexModifier class?
>
> On 1/24/06, Kodumuri, Madhavi <MK...@cme.com> wrote:
> >
> > Hi,
> >
> > My Lucene Indexer indexes from scratch with no problem. But I would like
> > to update the index database next time I run Indexer rather than
> > deleting the database and creating index from scratch every time I run
> > the Indexer. Is there any Update methods?
> > Any help appreciated,
> >
> > Thanks,
> >
> > Madhavi Kodumuri
> >
> >
> >
>



Re: updating Lucene Index

Posted by Fredrik Andersson <fi...@gmail.com>.
Hi,

Use the IndexModifier class?

On 1/24/06, Kodumuri, Madhavi <MK...@cme.com> wrote:
>
> Hi,
>
> My Lucene Indexer indexes from scratch with no problem. But I would like
> to update the index database next time I run Indexer rather than
> deleting the database and creating index from scratch every time I run
> the Indexer. Is there any Update methods?
> Any help appreciated,
>
> Thanks,
>
> Madhavi Kodumuri
>
>
>