Re: IndexReader.deleteDocuments

2006-10-15 Thread Yonik Seeley
On 10/16/06, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote: Can somebody please clarify the intended behaviour of IndexReader.deleteDocuments()? It deletes documents containing the term. The API docs are correct, the demo docs are incorrect if they say otherwise. -Yonik http://incubator.apache.org

Re: IndexReader.deleteDocuments

2006-10-15 Thread EDMOND KEMOKAI
Can somebody please clarify the intended behaviour of IndexReader.deleteDocuments()?, between the various documentations and implementations it seems this function is broken. API doc says it should delete docs containing the provided term but instead it deletes all documents not containg the given

Re: IndexReader.deleteDocuments

2006-10-14 Thread EDMOND KEMOKAI
Thanks for the response Otis, below is a link to the javadoc in the API: http://lucene.apache.org/java/docs/api/org/apache/lucene/demo/DeleteFiles.html ( Deletes documents from an index that do not contain a term) Here is a link to the actual sample implementation: http://svn.apache.org/repos/as

Re: IndexReader.deleteDocuments

2006-10-14 Thread Otis Gospodnetic
The javadoc is right. :) Otis - Original Message From: EDMOND KEMOKAI <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Sunday, October 15, 2006 12:49:21 AM Subject: IndexReader.deleteDocuments Hi guys, I am a newbee so excuse me if this is a repost. From the javadoc it seems Re