You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/07/30 18:05:05 UTC

DO NOT REPLY [Bug 30330] - IndexReader.delete(term) does not delete last doc from TermDocs list

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30330

IndexReader.delete(term) does not delete last doc from TermDocs list





------- Additional Comments From goller@detego-software.de  2004-07-30 16:05 -------
I think that you somehow break/corrupt the content of the path field either 
while adding it into your document or while providing it for delete, so that the
two terms are not equal. I am quite sure that Termdocs.next() works as it should.
This means that the doc numbers provided by a TermDocs is only valid if next()
returned true. 

However, if you are convinced, that there is a bug in TermDocs/delete(term),
please provide a self-contained test case.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org