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

Cancel a search request in ES #19244

Closed
ESamir opened this issue Jul 4, 2016 · 3 comments
Closed

Cancel a search request in ES #19244

ESamir opened this issue Jul 4, 2016 · 3 comments
Labels
discuss >enhancement :Search/Search Search-related issues that do not fall into other categories

Comments

@ESamir
Copy link

ESamir commented Jul 4, 2016

Add possibility to cancel a search request in ES.

When a request is sent from a web site and the end-user decide to go to another page, we will like to have the possibility to stop the current search .

@ESamir ESamir added >enhancement :Search/Search Search-related issues that do not fall into other categories labels Jul 4, 2016
@dadoonet
Copy link
Member

dadoonet commented Jul 4, 2016

I wonder if you have very loooong running requests.

Otherwise, I don't understand the need for such a feature as most of the time I'd expect search requests running in less than a second.
Can you elaborate a bit more?

@dadoonet dadoonet changed the title Cancel a search request in ES. Cancel a search request in ES Jul 4, 2016
@clintongormley
Copy link
Contributor

Duplicate of #12187

@ebuildy
Copy link
Contributor

ebuildy commented Jul 6, 2018

it's a good idea, I know Nginx has this kind of feature: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_client_abort

Determines whether the connection with a proxied server should be closed when a client closes the connection without waiting for a response.

elasticsearch should stop the query if the main HTTP query connection is closed by the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss >enhancement :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

4 participants