Skip to content

Search Task Cancellation #127103

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

Closed
uchiha-asha opened this issue Apr 20, 2025 · 2 comments
Closed

Search Task Cancellation #127103

uchiha-asha opened this issue Apr 20, 2025 · 2 comments
Labels
>enhancement :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch

Comments

@uchiha-asha
Copy link

Description

Hello,
Are planning to add timeout for search task cancellation? It is there in opensearch
opensearch-project/OpenSearch#986

@uchiha-asha uchiha-asha added >enhancement needs:triage Requires assignment of a team area label labels Apr 20, 2025
@DaveCTurner DaveCTurner added :Search Foundations/Search Catch all for Search Foundations and removed needs:triage Requires assignment of a team area label labels Apr 22, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Apr 22, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@javanna
Copy link
Member

javanna commented Apr 29, 2025

Hi @uchiha-asha ,
the search API already supports a timeout top-level parameter, and the async search API accepts a keep_alive value. When calling the search API, closing the underlying http connection will result in cancelling the search task, automatically.

We are not planning on adding a new timeout / cancellation mechanism at this time.

Could you perhaps clarify what improvement you are interested on top of the existing Elasticsearch's timeout mechanisms?

@javanna javanna closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

4 participants