You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/12/14 10:21:03 UTC

[jira] [Commented] (LUCENE-8097) Implement Scorer.maxScore() on disjunctions

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

Adrien Grand commented on LUCENE-8097:
--------------------------------------

For the record, we might be able to achieve a better bound since our doubles are actually floats in that case but I don't think it is necessary since the delta that is introduced by this error is generally cancelled by the float cast, and when not it would only increase the max score by 1 ulp.

> Implement Scorer.maxScore() on disjunctions
> -------------------------------------------
>
>                 Key: LUCENE-8097
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8097
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (8.0)
>
>         Attachments: LUCENE-8097.patch
>
>
> We need to be careful with disjunctions since scores are not always summed up in the same order, which can result in different sums.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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