RE: modifying existing index

2004-11-24 Thread Chuck Williams
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

Re: modifying existing index

2004-11-24 Thread Santosh
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

Re: modifying existing index

2004-11-23 Thread Cheolgoo Kang
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

RE: modifying existing index

2004-11-23 Thread Chuck Williams
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

Re: modifying existing index

2004-11-23 Thread Santosh
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

RE: modifying existing index

2004-11-23 Thread Will Allen
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

Re: modifying existing index

2004-11-23 Thread Luke Francl
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