Docs: Update docs/index_.asciidoc (#29172)
Use `_doc` in the routing example instead of `tweet` to agree with the text and line up with the other examples.
This commit is contained in:
parent
16bffc7394
commit
687fe860ac
|
@ -249,7 +249,7 @@ on a per-operation basis using the `routing` parameter. For example:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
POST twitter/tweet?routing=kimchy
|
POST twitter/_doc?routing=kimchy
|
||||||
{
|
{
|
||||||
"user" : "kimchy",
|
"user" : "kimchy",
|
||||||
"post_date" : "2009-11-15T14:12:12",
|
"post_date" : "2009-11-15T14:12:12",
|
||||||
|
|
Loading…
Reference in New Issue