Edited response structure on indexing a document (#20517)
Added "_shards" and "result" keys to the response.
This commit is contained in:
parent
d0f4bc16ca
commit
8ec94a4ba0
|
@ -302,6 +302,12 @@ curl -XPUT 'localhost:9200/customer/external/1?pretty' -d '
|
|||
"_type" : "external",
|
||||
"_id" : "1",
|
||||
"_version" : 1,
|
||||
"result" : "created",
|
||||
"_shards" : {
|
||||
"total" : 2,
|
||||
"successful" : 1,
|
||||
"failed" : 0
|
||||
},
|
||||
"created" : true
|
||||
}
|
||||
--------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue