Skip to content

Commit 6b46334

Browse files
miki1029nik9000
authored andcommitted
Docs: fix a typo in transport client's put-mapping.asciidoc (#23607)
It was talking about the wrong type.
1 parent 23b8b97 commit 6b46334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java-api/admin/indices/put-mapping.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ You can use the same API to update an existing mapping:
6060
[source,java]
6161
--------------------------------------------------
6262
client.admin().indices().preparePutMapping("twitter") <1>
63-
.setType("tweet") <2>
63+
.setType("user") <2>
6464
.setSource("{\n" + <3>
6565
" \"properties\": {\n" +
6666
" \"user_name\": {\n" +

0 commit comments

Comments
 (0)