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
searcherVersion = -15;
stateMask -= stateMask &
STATE_MODIFYING;
logUpdate( documentsToUpdate,
failedToAdd );
}
}
}
//optimizeIndex();
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
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 document twice in the results.
To overcome this I am deleti