Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix max score computation in BlockMaxConjunctionBulkScorer. #13397

Merged
merged 1 commit into from
May 21, 2024

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented May 21, 2024

It sums up max scores in a float when it should sum them up in a double like we do for Scorer#score(). Otherwise, max scores may be returned that are less than actual scores.

This bug was introduced in #13343, so it is not released yet.

Closes #13371
Closes #13396

It sums up max scores in a float when it should sum them up in a double like we
do for `Scorer#score()`. Otherwise, max scores may be returned that are less
than actual scores.

This bug was introduced in apache#13343, so it is not released yet.

Closes apache#13371
Closes apache#13396
@jpountz jpountz added this to the 9.11.0 milestone May 21, 2024
@jpountz jpountz merged commit 5b1a34b into apache:main May 21, 2024
3 checks passed
@jpountz jpountz deleted the fix_conjunction_failures branch May 21, 2024 09:52
jpountz added a commit that referenced this pull request May 21, 2024
It sums up max scores in a float when it should sum them up in a double like we
do for `Scorer#score()`. Otherwise, max scores may be returned that are less
than actual scores.

This bug was introduced in #13343, so it is not released yet.

Closes #13371
Closes #13396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant