You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/03/03 18:42:07 UTC

[jira] [Commented] (LUCENE-6329) Calling score() should be ok even if needsScores is false

    [ https://issues.apache.org/jira/browse/LUCENE-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345388#comment-14345388 ] 

Robert Muir commented on LUCENE-6329:
-------------------------------------

+1 to commit this, i am interested in the list of "bad guys" too on some other issue. These are places we can speed up.

> Calling score() should be ok even if needsScores is false
> ---------------------------------------------------------
>
>                 Key: LUCENE-6329
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6329
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6329.patch
>
>
> Currently if you use approximations on a disjunction scorer and call score() while needsScores was set to false, then you might run into exceptions.
> The reason is that when scores are not needed then the scorer doesn't maintain the list of scorers positioned on the current doc ID and you can eg. end up with exhausted scorers in this list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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