-
Notifications
You must be signed in to change notification settings - Fork 25.2k
change taskId to nodeId:taskId to be more accurate in DeleteByQuery Documentation #31122
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
Conversation
Most APIs locate a task by nodeId:taskId. It is very confusing as examples like the following are not working because the taskId here actually means nodeId:taskId -------------------------------------------------- GET /_tasks/taskId -------------------------------------------------- Another change gives developers a better understanding of `wait_for_completion` parameter and how to delete a task document after completion.
Pinging @elastic/es-distributed |
The task id is made up of a node id and a number so I'm fairly sure the docs are right as they stand. |
@nik9000 @elastic/es-distributed Thanks for the clarification. I didn't see "The task id is made up of a node id and a number" this definition anywhere before I struggled and understood it myself. I will give you a confusing example:
I think people would assume Another example:
Still some people woud think If you think my argument is not strong enough, please close this pr on my behalf. Thanks. |
@imotov, what do you think of |
@nik9000 In my opinion task id is the whole thing - |
I've opened the issue #31253 to track removing the bits of the list tasks API that imply some contract about the shape of task ids. I'd like to do that instead of this so I'm closing this PR. |
Most APIs locate a task by nodeId:taskId.
It is very confusing as examples like the following are not working because the
taskId
here actually meansnodeId:taskId
Another change gives developers a better understanding of
wait_for_completion
parameter and how to delete a task document after completion.