Edited response structure on indexing a document (#20517)

Added "_shards" and "result" keys to the response.
This commit is contained in:
Alexander Guz 2016-09-16 18:15:41 +02:00 committed by Lee Hinman
parent d0f4bc16ca
commit 8ec94a4ba0
1 changed files with 6 additions and 0 deletions

View File

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