Re: updating document

2006-08-10 Thread Deepan Chakravarthy
Modifier ? (Now I am using IndexReader and IndexWriter) Thanks Deepan www.codeshepherd.com > If you are searching on these fields then it would explain why you are > losing results. > > On 8/10/06, Deepan Chakravarthy <[EMAIL PROTECTED]> wrote: > > > > On Thu, 20

Re: updating document

2006-08-10 Thread Deepan Chakravarthy
ntation details such as that > adding documents is done via IndexWriter and deletion is done via > IndexReader.>>> > > Best > Erick > > On 8/9/06, Deepan Chakravarthy <[EMAIL PROTECTED]> wrote: > > > > Hi, > > We have to update few documents in

updating document

2006-08-09 Thread Deepan Chakravarthy
Hi, We have to update few documents in our index. We have add a additional field to them. We did as follows 1)read the documents of our interest using IndexReader 2)copy them to a temporary doc object (temp_doc) 3)delete the document in the index 4)close the IndexReader 5)open the IndexWriter 6)