mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Update "_doc" to "account" type for bulk example (#28786)
* Change 'account' to '_doc' as types are deprecated
This commit is contained in:
parent
bddf9df8b4
commit
4ec179b2ba
@ -669,7 +669,7 @@ You can download the sample dataset (accounts.json) from https://github.com/elas
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
curl -H "Content-Type: application/json" -XPOST "localhost:9200/bank/account/_bulk?pretty&refresh" --data-binary "@accounts.json"
|
||||
curl -H "Content-Type: application/json" -XPOST "localhost:9200/bank/_doc/_bulk?pretty&refresh" --data-binary "@accounts.json"
|
||||
curl "localhost:9200/_cat/indices?v"
|
||||
--------------------------------------------------
|
||||
// NOTCONSOLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user