[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to