RE: Deleting document by file name

2007-02-01 Thread DECAFFMEYER MATHIEU
I see now :) Thank u all for your support __ Matt -Original Message- From: WATHELET Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 3:28 PM To: java-user@lucene.apache.org Subject: RE: Deleting document by file name

RE: Deleting document by file name

2007-02-01 Thread WATHELET Thomas
); _ From: DECAFFMEYER MATHIEU [mailto:[EMAIL PROTECTED] Sent: 01 February 2007 09:53 To: java-user@lucene.apache.org Subject: Deleting document by file name Hi, I have a list of filenames like Corporate.htm

RE: Deleting document by file name

2007-02-01 Thread DECAFFMEYER MATHIEU
If I have the path of the document, I cannot find the ID ? __ Matt -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 2:09 PM To: java-user@lucene.apache.org Subject: Re: Deleting document by file

Re: Deleting document by file name

2007-02-01 Thread Erick Erickson
Believe it or not, you delete items with IndexReader . You can either delete by document ID or by Term. Be aware that currently open searchers will still find these documents (even after they have been deleted) until the *searcher* is closed and reopened. Erick On 2/1/07, DECAFFMEYER MATHIEU <[E

Deleting document by file name

2007-02-01 Thread DECAFFMEYER MATHIEU
Hi, I have a list of filenames like Corporate.htm Logistics.htm Merchant.htm that need to be deleted. For now on I give this list to my Search application that reads the idnex and give the results, and if the path contains one of the filenames, I don't display this hit ... Not really proper