[DOC] Add async search state explanations #5167
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.
What do you want to do?
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
andSTORE_RESIDENT
. However, the information about what the states actually mean are not documented. Only information I'm able to find is thatSTORE_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
andPERSIST_SUCCEEDED
? What is the difference betweenFAILED
andPERSIST_FAILED
? What doesCLOSED
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
The text was updated successfully, but these errors were encountered: