Skip to content

Fix minmax normalizer handling of single-doc result sets #128689

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Mikep86
Copy link
Contributor

@Mikep86 Mikep86 commented May 30, 2025

There is a bug in the minmax normalizer logic that causes it to return the unnormalized score when handling a single-doc result set. This PR fixes the bug and adds a YAML test for the fix.

@Mikep86 Mikep86 requested a review from pmpailis May 30, 2025 17:28
@Mikep86 Mikep86 added >bug :Search/Search Search-related issues that do not fall into other categories auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 v9.0.3 v8.18.3 labels May 30, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label May 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine
Copy link
Collaborator

Hi @Mikep86, I've created a changelog YAML for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.18.3 v8.19.0 v9.0.3 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants