lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1379) SpanScorer fails when sloppyFreq() returns 0
Date Tue, 16 Sep 2008 19:06:44 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message