From 4ec179b2ba91a4546fdf2c5bae0d21716ddd6312 Mon Sep 17 00:00:00 2001 From: Chun On Lee Date: Tue, 13 Mar 2018 07:44:21 -0700 Subject: [PATCH] Update "_doc" to "account" type for bulk example (#28786) * Change 'account' to '_doc' as types are deprecated --- docs/reference/getting-started.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/getting-started.asciidoc b/docs/reference/getting-started.asciidoc index b3156dbc1f4..af7fc8fa6d6 100755 --- a/docs/reference/getting-started.asciidoc +++ b/docs/reference/getting-started.asciidoc @@ -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