mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Docs: fix a typo in transport client's put-mapping.asciidoc (#23607)
It was talking about the wrong type.
This commit is contained in:
parent
23b8b97275
commit
6b46334d31
1 changed files with 1 additions and 1 deletions
|
@ -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" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue