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
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
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
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