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

[DOC] Add async search state explanations #5167

Open
1 of 4 tasks
Caaaas opened this issue Oct 6, 2023 · 3 comments
Open
1 of 4 tasks

[DOC] Add async search state explanations #5167

Caaaas opened this issue Oct 6, 2023 · 3 comments
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started good first issue Good for newcomers Sev2 High-medium priority. Upcoming release or incorrect information.

Comments

@Caaaas
Copy link

Caaaas commented Oct 6, 2023

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request and all versions that are affected.

The possible states for async searches are listed in the documentation, with the possible values being RUNNING, SUCCEEDED, FAILED, PERSISTING, PERSIST_SUCCEEDED, PERSIST_FAILED, CLOSED and STORE_RESIDENT . However, the information about what the states actually mean are not documented. Only information I'm able to find is that STORE_RESIDENT means the response is successfully persisted, but that is listed under the title "Get partial results", so it's unclear whether we get back partial or full results.

What is the difference between SUCCEEDED and PERSIST_SUCCEEDED? What is the difference between FAILED and PERSIST_FAILED? What does CLOSED mean? And so on.

Which states mean that I can expect to get back partial results? Which states mean that I can expect to get fully completed results?

It would be great to get an explanation of all possible states and what they mean.

All versions (including the latest) seems to be affected. Older versions are missing some of the states, but that seems to be updated and more correct in the later versions.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Only documentation I'm able to find about the async states are from the current documentation.

Some hints on what the different states does are available from the opensearch-project/asynchronous-search project

@Naarcha-AWS Naarcha-AWS added 1 - Backlog Issue: The issue is unassigned or assigned but not started Sev2 High-medium priority. Upcoming release or incorrect information. good first issue Good for newcomers and removed untriaged labels Oct 16, 2023
@hdhalter
Copy link
Contributor

@kolchfa-aws - do you know who might be able to help us out with these descriptions? Thanks.

@kolchfa-aws
Copy link
Collaborator

kolchfa-aws commented Nov 28, 2023

Not sure. Paging @opensearch-project/asynchronous-search

@hdhalter
Copy link
Contributor

Looks like @Eisrep is the developer for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started good first issue Good for newcomers Sev2 High-medium priority. Upcoming release or incorrect information.
Projects
None yet
Development

No branches or pull requests

4 participants