[DOCS] clarification of breaking changes to 1.4 due to GET index API
This commit is contained in:
parent
f8e93fa2aa
commit
8238388bad
|
@ -29,6 +29,8 @@ curl -XGET 'http://localhost:9200/_all/_mapping/tweet,book'
|
|||
If you want to get mappings of all indices and types then the following
|
||||
two examples are equivalent:
|
||||
|
||||
coming[1.4.0,The API will always include a `mappings` section, even if there aren't any mappings. Previous versions would not return the `mappings` section]
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
curl -XGET 'http://localhost:9200/_all/_mapping'
|
||||
|
|
|
@ -48,7 +48,7 @@ curl -XGET 'http://localhost:9200/_all/_warmers'
|
|||
curl -XGET 'http://localhost:9200/_warmers'
|
||||
--------------------------------------------------
|
||||
|
||||
Similarly, the <<alias-retrieving, get alias api>> will return a section for `aliases` even if there are
|
||||
The <<alias-retrieving, get alias api>> will return a section for `aliases` even if there are
|
||||
no aliases. This ensures that the following two examples are equivalent:
|
||||
|
||||
[source,js]
|
||||
|
@ -58,3 +58,14 @@ curl -XGET 'http://localhost:9200/_all/_aliases'
|
|||
curl -XGET 'http://localhost:9200/_aliases'
|
||||
--------------------------------------------------
|
||||
|
||||
The <<indices-get-mapping, get mapping api>> will return a section for `mappings` even if there are
|
||||
no mappings. This ensures that the following two examples are equivalent:
|
||||
|
||||
[source,js]
|
||||
--------------------------------------------------
|
||||
curl -XGET 'http://localhost:9200/_all/_mappings'
|
||||
|
||||
curl -XGET 'http://localhost:9200/_mappings'
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue