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

[8.14] Guard against a null scorer in painless execute (#109048) #109192

Merged
merged 1 commit into from
May 29, 2024

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented May 29, 2024

Backports the following commits to 8.14:

The painless execute api allows for a sample document and query to be
provided. If the query does not actually match the document, a null
scorer is produced. This commit guards against that condition, returning
a clearer error message indicating what happened.

closes elastic#43541
@rjernst rjernst requested a review from a team as a code owner May 29, 2024 22:33
@rjernst rjernst added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels May 29, 2024
@elasticsearchmachine elasticsearchmachine merged commit e94dad6 into elastic:8.14 May 29, 2024
15 checks passed
@rjernst rjernst deleted the backport/8.14/pr-109048 branch May 29, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v8.14.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants