Browse Source

[Docs] Fix syntax error leading to wrong doc ID (#48554)

In order to index a document with id 2, the "&" should be replaced by "?"
lgypro 6 years ago
parent
commit
95c7e6ebff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/mapping/fields/id-field.asciidoc

+ 1 - 1
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"
 }