Skip to content

Let MLTQuery throw IAE when no analyzer is set #124662

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

Merged
merged 5 commits into from
Mar 12, 2025

Conversation

tteofili
Copy link
Contributor

@tteofili tteofili commented Mar 12, 2025

fixes #124562

@tteofili tteofili added >bug :Search Relevance/Search Catch all for Search Relevance labels Mar 12, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@tteofili tteofili marked this pull request as ready for review March 12, 2025 16:14
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Mar 12, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tteofili tteofili merged commit c971d79 into elastic:main Mar 12, 2025
17 checks passed
albertzaharovits pushed a commit to albertzaharovits/elasticsearch that referenced this pull request Mar 13, 2025
* Let MLTQuery throw IAE when no analyzer is set
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Mar 13, 2025
* Let MLTQuery throw IAE when no analyzer is set
@smalyshev
Copy link
Contributor

Any reason why this wasn't backported to older versions? Looks like I am seeing some instances of suppressed REST errors from this.

tteofili added a commit to tteofili/elasticsearch that referenced this pull request Mar 19, 2025
* Let MLTQuery throw IAE when no analyzer is set

(cherry picked from commit c971d79)
tteofili added a commit to tteofili/elasticsearch that referenced this pull request Mar 19, 2025
* Let MLTQuery throw IAE when no analyzer is set

(cherry picked from commit c971d79)
tteofili added a commit that referenced this pull request Mar 19, 2025
* Let MLTQuery throw IAE when no analyzer is set

(cherry picked from commit c971d79)
tteofili added a commit that referenced this pull request Mar 19, 2025
… set (#124662) (#125192)

* Let MLTQuery throw IAE when no analyzer is set (#124662)

(cherry picked from commit c971d79)
@tteofili
Copy link
Contributor Author

it's now been backported to 9.0 and 8.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elasticsearch search engine suppressed rest errors: No analyzer configured for field posttitle
4 participants