[DOCS] Update to the new {index}/_mapping/{type} format

This commit is contained in:
Greg Marzouka 2014-08-21 13:56:11 -04:00
parent 80887e8113
commit 887bd0a9c2
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ curl -XGET 'http://localhost:9200/twitter/_mapping/tweet'
The get mapping API can be used to get more than one index or type The get mapping API can be used to get more than one index or type
mapping with a single call. General usage of the API follows the mapping with a single call. General usage of the API follows the
following syntax: `host:port/{index}/{type}/_mapping` where both following syntax: `host:port/{index}/_mapping/{type}` where both
`{index}` and `{type}` can accept a comma-separated list of names. To `{index}` and `{type}` can accept a comma-separated list of names. To
get mappings for all indices you can use `_all` for `{index}`. The get mappings for all indices you can use `_all` for `{index}`. The
following are some examples: following are some examples: