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

[9.0] Analyze API to return 400 for wrong custom analyzer (#121568) #121814

Merged

Conversation

mayya-sharipova
Copy link
Contributor

Backports the following commits to 9.0:

If a custom analyzer provided in _analyze API can not be built, return
400 instead of the current 500. This most probably means that the user's
provided analyzer specifications are wrong.

Closes elastic#121443
@mayya-sharipova mayya-sharipova added :Search Relevance/Analysis How text is split into tokens >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Feb 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit 4b16ef0 into elastic:9.0 Feb 5, 2025
16 checks passed
@mayya-sharipova mayya-sharipova deleted the backport/9.0/pr-121568 branch February 5, 2025 22:46
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 Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants