From abddf5167289a9a23ec8b88b31e93776441fba27 Mon Sep 17 00:00:00 2001 From: lgypro <42293361+lgypro@users.noreply.github.com> Date: Tue, 29 Oct 2019 17:26:04 +0800 Subject: [PATCH] =?UTF-8?q?[Docs]=C2=A0Fix=20syntax=20error=20leading=20to?= =?UTF-8?q?=20wrong=20doc=20ID=20(#48554)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to index a document with id 2, the "&" should be replaced by "?" --- docs/reference/mapping/fields/id-field.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/mapping/fields/id-field.asciidoc b/docs/reference/mapping/fields/id-field.asciidoc index 9d93c60b39277..987f3729aa1fa 100644 --- a/docs/reference/mapping/fields/id-field.asciidoc +++ b/docs/reference/mapping/fields/id-field.asciidoc @@ -16,7 +16,7 @@ PUT my_index/_doc/1 "text": "Document with ID 1" } -PUT my_index/_doc/2&refresh=true +PUT my_index/_doc/2?refresh=true { "text": "Document with ID 2" }