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