Hi Victor, Thanks a lot, now I can delete documents in the index. Very nice!!! But I have another question: when I do an upload file how I can to replace automatically the old one in the directory, and how to identify this file in the index to delete it ? I need some help. Thanks in advance Michel
-----Original Message----- From: Victor Hadianto [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:08 AM To: Lucene Users List Subject: Re: Delete files On Mon, 14 Jul 2003 07:11 pm, [EMAIL PROTECTED] wrote: > Hi, I am new in Lucene. I have a problem with my code. Somebody can help me > why I can't delete some files.Maybe I missing something. Thanks in advance. You have IndexWriter opened while trying to delete document. Use IndexReader to delete document and then open IndexWriter to optimize. > Regards, > > Michel victor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
