[
https://issues.apache.org/jira/browse/LUCENE-10553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand resolved LUCENE-10553.
-----------------------------------
Fix Version/s: 9.2
Resolution: Fixed
> WANDScorer's handling of 0 and +Infty is backwards
> --------------------------------------------------
>
> Key: LUCENE-10553
> URL: https://issues.apache.org/jira/browse/LUCENE-10553
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Fix For: 9.2
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> WANDScorer has special logic to deal with corner cases when the sum of the
> maximum scores of sub queries is either 0 or +Infty, but both code and tests
> have backwards logic regarding this special case, doing +1 instead of -1 and
> vice-versa.
> This leads to a failed assertion in the case when the sum of the scores of
> the sub queries overflows, which typically happens if one of the clauses has
> a default implementation that returns MAX_VALUE if it cannot reason about max
> scores.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]