Several DocsEnum / DocsAndPositionsEnum return wrong docID when next() / 
advance(int) return NO_MORE_DOCS
---------------------------------------------------------------------------------------------------------

                 Key: LUCENE-2888
                 URL: https://issues.apache.org/jira/browse/LUCENE-2888
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Simon Willnauer
            Assignee: Simon Willnauer
            Priority: Minor
             Fix For: 4.0


During work on LUCENE-2878 I found some minor problems in PreFlex and Pulsing 
Codec - they are not returning NO_MORE_DOCS but the last docID instead from 
DocsEnum#docID() when next() or advance(int) returned NO_MORE_DOCS. The JavaDoc 
clearly says that it should return NO_MORE_DOCS.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to