Skip to content

Commit

Permalink
[Docs] Fix syntax error leading to wrong doc ID (#48554)
Browse files Browse the repository at this point in the history
In order to index a document with id 2, the "&" should be replaced by "?"
  • Loading branch information
iliguanghui authored and Christoph Büscher committed Oct 29, 2019
1 parent 82e25c4 commit abddf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/mapping/fields/id-field.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit abddf51

Please sign in to comment.