[
https://issues.apache.org/jira/browse/LUCENE-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631511#action_12631511
]
Michael McCandless commented on LUCENE-1379:
--------------------------------------------
OK I now understand this patch -- checking freq != 0 (as the return value) is
not a valid way to return the value for next() or skipTo(), because sloppyFreq
could return 0, for the last doc in the in iteration.
I will commit shortly! Thanks Paul.
> SpanScorer fails when sloppyFreq() returns 0
> --------------------------------------------
>
> Key: LUCENE-1379
> URL: https://issues.apache.org/jira/browse/LUCENE-1379
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Reporter: Paul Elschot
> Priority: Minor
> Fix For: 2.4
>
> Attachments: LUCENE-1379-test.patch, LUCENE-1379.patch
>
>
> I think we should fix this for 2.4 (now back to 10)?
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]