Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Feb 13, 2025

Backports the following commits to 9.0:

Whenever a search timeout is set to a search request, the timeout may be triggered
by the suggest phase via exitable directory reader. In that case, the exception that
is thrown by the timeout check needs to be handled, instead of returned back to the user.

Instead of handling the timeout in each phase, this commit handles it as part of QueryPhase
for both SuggestPhase and RescorePhase.

For rescore phase, one integration test that is time dependent is also rewritten to remove
the time dependency and moved from QueryRescorerIT to SearchTimeoutIT.

Closes elastic#122186
@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 Feb 13, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9c0cd45 into elastic:9.0 Feb 13, 2025
16 checks passed
@javanna javanna deleted the backport/9.0/pr-122357 branch February 13, 2025 18:42
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.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants