mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
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",
|
"_type" : "external",
|
||||||
"_id" : "1",
|
"_id" : "1",
|
||||||
"_version" : 1,
|
"_version" : 1,
|
||||||
|
"result" : "created",
|
||||||
|
"_shards" : {
|
||||||
|
"total" : 2,
|
||||||
|
"successful" : 1,
|
||||||
|
"failed" : 0
|
||||||
|
},
|
||||||
"created" : true
|
"created" : true
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user