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

Add documentation for timeout based cancellation of search request #128

Closed
sohami opened this issue Aug 5, 2021 · 3 comments · Fixed by #650
Closed

Add documentation for timeout based cancellation of search request #128

sohami opened this issue Aug 5, 2021 · 3 comments · Fixed by #650
Assignees
Labels
2 - In progress Issue/PR: The issue or PR is in progress. API good first issue Good for newcomers
Milestone

Comments

@sohami
Copy link
Contributor

sohami commented Aug 5, 2021

This PR introduces the support for timeout based cancellation for search request. It adds request level parameter (cancel_after_time_interval) for search and msearch requests and cluster setting search.cancel_after_time_interval to control the timeout interval for cancelling the request. The feature is targeted for 1.1 release.

@elfisher
Copy link
Contributor

elfisher commented Aug 5, 2021

@sohami thanks for creating this issue. I had a couple of questions. Are these parameters only transport layer or are they also available for any _search REST call? If they are in the REST layer, is it just a query parameter in the JSON request body? Thanks!

@sohami
Copy link
Contributor Author

sohami commented Aug 5, 2021

The new parameter is supported in REST layer as a query parameter only.

@stockholmux
Copy link
Member

@Naarcha-AWS could you take a look at this? This is a neat feature that is unique to OpenSearch and is unknown.

@Naarcha-AWS Naarcha-AWS self-assigned this Mar 7, 2022
@Naarcha-AWS Naarcha-AWS added 1 - Backlog Issue: The issue is unassigned or assigned but not started enhancement New feature or request API good first issue Good for newcomers and removed enhancement New feature or request labels May 25, 2022
@hdhalter hdhalter added good first issue Good for newcomers API and removed good first issue Good for newcomers API labels May 25, 2022
@hdhalter hdhalter added this to the 2022-Q2 milestone May 25, 2022
@kolchfa-aws kolchfa-aws self-assigned this Jun 2, 2022
@Naarcha-AWS Naarcha-AWS added 2 - In progress Issue/PR: The issue or PR is in progress. and removed 1 - Backlog Issue: The issue is unassigned or assigned but not started labels Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - In progress Issue/PR: The issue or PR is in progress. API good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants