From 3396184ff3195e1273e7a3620028bc4f31e49762 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Fri, 4 Sep 2020 10:04:33 -0400 Subject: [PATCH] [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 --- docs/reference/docs/reindex.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index 4027b3bfa91..55e59398912 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -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 <> 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.