Skip to content

Conversation

javanna
Copy link
Member

@javanna javanna commented Jul 10, 2025

Backports the following commits to 9.1:

…lastic#130924)

If a user tries to apply geo distance sorting to a field of the wrong type, they'll get
a 500 error that causes shard failures, because the field data impl gets casted to the
expected type without first checking that the field type is the one expected.
This commit addresses that by returning a 400 error instead.

Closes elastic#129500
@javanna javanna added :Search Foundations/Search Catch all for Search Foundations >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Jul 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit 8d8f7f4 into elastic:9.1 Jul 11, 2025
34 checks passed
@javanna javanna deleted the backport/9.1/pr-130924 branch July 11, 2025 12:51
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 :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants