[DOCS] Use correct get document API (#61804) (#61992)

The documentation refers to a deprecated get document API call (it uses document `type`).

Co-authored-by: Thiago Souza <thiago@elastic.co>
This commit is contained in:
James Rodewig 2020-09-04 10:04:33 -04:00 committed by GitHub
parent 6d08b55d4e
commit 3396184ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ Note that the handling of other error types is unaffected by the `"conflicts"` p
If the request contains `wait_for_completion=false`, {es}
performs some preflight checks, launches the request, and returns a
<<tasks,`task`>> you can use to cancel or get the status of the task.
{es} creates a record of this task as a document at `.tasks/task/${taskId}`.
{es} creates a record of this task as a document at `.tasks/_doc/${taskId}`.
When you are done with a task, you should delete the task document so
{es} can reclaim the space.