-
Notifications
You must be signed in to change notification settings - Fork 65
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 asynchronous search descriptions. #781
Add asynchronous search descriptions. #781
Conversation
Signed-off-by: Archer <[email protected]>
Changes AnalysisCommit SHA: cd09c98 API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/12715319318/artifacts/2414636143 API Coverage
|
Spec Test Coverage Analysis
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naarcha-AWS A couple changes. Thanks!
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Naarcha-AWS <[email protected]>
Signed-off-by: Archer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naarcha-AWS Please see my comments. Thanks!
@@ -52,7 +52,7 @@ paths: | |||
operationId: asynchronous_search.stats.0 | |||
x-operation-group: asynchronous_search.stats | |||
x-version-added: '1.0' | |||
description: Monitoring of asynchronous searches that are running, completed, and/or persisted. | |||
description: Monitors any asynchronous searches that are `running`, `completed`, `persisted`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Insert "or" prior to persisted
.
@@ -64,19 +64,22 @@ components: | |||
asynchronous_search.search::query.wait_for_completion_timeout: | |||
name: wait_for_completion_timeout | |||
in: query | |||
description: The amount of time that you plan to wait for the results. You can poll the remaining results based on an ID. The maximum value is `300s`. Default is `1s`. | |||
description: The amount of time that you plan to wait for the results. You can poll the remaining results based on an ID. The maximum value is 300 seconds. Default is `1s`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The amount of time to wait for the results." Remove "that you plan".
schema: | ||
type: string | ||
asynchronous_search.search::query.keep_on_completion: | ||
name: keep_on_completion | ||
in: query | ||
description: Whether you want to save the results in the cluster after the search is complete. | ||
description: Whether you want to save the results in the cluster after the search is complete. You can examine the stored results at a later time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "you want".
description: |- | ||
The amount of time that the result is saved in the cluster. For example, `2d` means that the results are stored in the cluster for 48 hours. | ||
The saved search results are deleted after this period or if the search is canceled. Note that this includes the query execution time. | ||
If the query overruns this time, the process cancels this query automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"overruns this time" => "exceeds this amount of time"
Updates the query parameter descriptions for asynchronous search API.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.