From 6b46334d3161e34063ef6632d6ecb46f84d62ab1 Mon Sep 17 00:00:00 2001 From: Minwoo Kim Date: Tue, 21 Mar 2017 04:04:31 +0900 Subject: [PATCH] Docs: fix a typo in transport client's put-mapping.asciidoc (#23607) It was talking about the wrong type. --- docs/java-api/admin/indices/put-mapping.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java-api/admin/indices/put-mapping.asciidoc b/docs/java-api/admin/indices/put-mapping.asciidoc index 9b085975077..6c2a5406528 100644 --- a/docs/java-api/admin/indices/put-mapping.asciidoc +++ b/docs/java-api/admin/indices/put-mapping.asciidoc @@ -60,7 +60,7 @@ You can use the same API to update an existing mapping: [source,java] -------------------------------------------------- client.admin().indices().preparePutMapping("twitter") <1> - .setType("tweet") <2> + .setType("user") <2> .setSource("{\n" + <3> " \"properties\": {\n" + " \"user_name\": {\n" +