You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2011/01/25 16:48:47 UTC
[jira] Updated: (LUCENE-2888) Several DocsEnum /
DocsAndPositionsEnum return wrong docID when next() / advance(int) return
NO_MORE_DOCS
[ https://issues.apache.org/jira/browse/LUCENE-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-2888:
------------------------------------
Attachment: LUCENE-2888.patch
here is a patch including the ported testcase from LUCENE-2878
> 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
>
> Attachments: LUCENE-2888.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org