Skip to content

Conversation

@carlosdelest
Copy link
Member

@carlosdelest carlosdelest commented Aug 1, 2025

Follow up to #132321

I didn't get into account that all shards can fail and thus throw an exception instead of returning a search response. This PR fixes it.

Closes #132347

@carlosdelest carlosdelest added >test Issues or PRs that are addressing/adding tests :Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.0 labels Aug 1, 2025
@carlosdelest carlosdelest requested a review from a team August 1, 2025 16:59
@elasticsearchmachine
Copy link
Collaborator

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

@carlosdelest carlosdelest changed the title Fix test for all shards failed Fix PhraseSuggesterIT test when all shards fail Aug 1, 2025
Copy link
Contributor

@john-wagster john-wagster left a comment

Choose a reason for hiding this comment

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

lgtm

@carlosdelest carlosdelest enabled auto-merge (squash) August 1, 2025 17:29
@carlosdelest carlosdelest merged commit 829fb56 into elastic:main Aug 4, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] PhraseSuggesterIT testPhraseSuggestionWithNgramOnlyAnalyzerThrowsException failing

3 participants