-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
[DOCS] Async search response ID clarification #55636
Comments
Pinging @elastic/es-docs (>docs) |
Pinging @elastic/es-search (:Search/Search) |
To clarify, As a side note, I still find this potentially confusing, as the keep_alive gets ignored in the described scenario. We did some thinking around these parameters, their meaning and naming, which is summarized in #54069. What we have now is the outcome of that discussion. |
Sorry, I meant The reason for raising this issue though is that the documentation does not mention any happy path scenario where an ID is not returned, which I think it should, along with document how |
We should mention what happens when the response completed within the
completion timeout, agreed. I am reluctant on documenting
keep_on_completion because it's only used in tests and we are still looking
for alternatives as we would love to remove it soon.
…On Mon, Apr 27, 2020, 02:20 Russ Cam ***@***.***> wrote:
Sorry, I meant keep_on_completion, not keep_alive. This is what we're
using for integration tests for the C# client: elastic/elasticsearch-net@
ea847aa
<elastic/elasticsearch-net@ea847aa>
The reason for raising this issue though is that the documentation does
not mention any happy path scenario where an ID is not returned, which I
think it should, along with document how keep_on_completion works in
conjunction to keep_alive.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#55636 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGLHTA2ITWB6XVYBH67ZJTROTFTNANCNFSM4MOTGFLA>
.
|
When an async search successfully completes within the
wait_for_completion_timeout
, and nokeep_alive
parameter is specified such that results will not be available in the cluster, an ID is not returned in the response to a submit async search API.The documentation for async search APIs does not currently mention this, but I think it would be good to clarify this behaviour.
The text was updated successfully, but these errors were encountered: