iginal Message-
> From: Santosh [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 24, 2004 9:54 AM
> To: Lucene Users List
> Subject: Re: modifying existing index
>
> I am able to delete now the Index using the following
>
> if(indexDir.e
Original Message -
From: "Chuck Williams" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 1:06 PM
Subject: RE: modifying existing index
A good way to do this is to add a keyword field with whatever unique
TECTED]>
> To: "Lucene Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 24, 2004 1:26 AM
> Subject: Re: modifying existing index
>
> > On Tue, 2004-11-23 at 13:59, Santosh wrote:
> > > I am using lucene for indexing, when I am creating Ind
indexing for an example.
Chuck
> -Original Message-
> From: Santosh [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 23, 2004 11:34 PM
> To: Lucene Users List
> Subject: Re: modifying existing index
>
> I have gon through IndexReader , I got me
st" <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 1:26 AM
Subject: Re: modifying existing index
> On Tue, 2004-11-23 at 13:59, Santosh wrote:
> > I am using lucene for indexing, when I am creating Index the docuemnts
are added. but when I want to modify the single e
To update a document you need to insert the modified document, then delete the
old one.
Here is some code that I use to get you going in the right direction (it wont
compile, but if you follow it closely you will see how I take an array of
lucene documents with new properties and add them, then
On Tue, 2004-11-23 at 13:59, Santosh wrote:
> I am using lucene for indexing, when I am creating Index the docuemnts are
> added. but when I want to modify the single existing document and reIndex
> again, it is taking as new document and adding one more time, so that I am
> getting same documen