OpenSearch/docs/reference
Britta Weber 411739fe3b Make PUT and DELETE consistent for _mapping, _alias and _warmer
See issue #4071

PUT options for _mapping:

Single type can now be added with

`[PUT|POST] {index|_all|*|regex|blank}/[_mapping|_mappings]/type`

and

`[PUT|POST] {index|_all|*|regex|blank}/type/[_mapping|_mappings]`

PUT options for _warmer:

PUT with a single warmer can now be done with

`[PUT|POST] {index|_all|*|prefix*|blank}/{type|_all|*|prefix*|blank}/[_warmer|_warmers]/warmer_name`

PUT options for _alias:

Single alias can now be PUT with

`[PUT|POST] {index|_all|*|prefix*|blank}/[_alias|_aliases]/alias`

DELETE options _mapping:

Several mappings can be deleted at once by defining several indices and types with

`[DELETE] /{index}/{type}`

`[DELETE] /{index}/{type}/_mapping`

`[DELETE] /{index}/_mapping/{type}`

where

`index= * | _all | glob pattern | name1, name2, …`

`type= * | _all | glob pattern | name1, name2, …`

Alternatively, the keyword `_mapings` can be used.

DELETE options for  _warmer:

Several warmers can be deleted at once by defining several indices and names with

`[DELETE] /{index}/_warmer/{type}`

where

`index= * | _all | glob pattern | name1, name2, …`

`type= * | _all | glob pattern | name1, name2, …`

Alternatively, the keyword `_warmers` can be used.

DELETE options for _alias:

Several aliases can be deleted at once by defining several indices and names with

`[DELETE] /{index}/_alias/{type}`

where

`index= * | _all | glob pattern | name1, name2, …`

`type= * | _all | glob pattern | name1, name2, …`

Alternatively, the keyword `_aliases` can be used.
2014-01-14 20:02:43 +01:00
..
analysis Referring to stop analyzer for stopword docs #329 2014-01-14 11:53:30 +01:00
cat [DOCS] Update cat/indices to reflect ?pri flag 2014-01-13 14:18:27 -06:00
cluster Expose min/max open file descriptors in Cluster Stats API 2014-01-10 12:15:56 +01:00
docs Default to not accepting type wrapper in indexing requests 2014-01-13 14:37:00 -07:00
images add docs on new service.bat facility 2013-09-23 18:24:31 +03:00
index-modules randomize flush interval so multiple shards won't flush at the sam time 2014-01-07 19:58:28 +01:00
indices Make PUT and DELETE consistent for _mapping, _alias and _warmer 2014-01-14 20:02:43 +01:00
mapping Adds a new coerce flag for numeric field mappings which is defaulted to true. 2014-01-13 17:58:18 +00:00
modules Improve support for partial snapshots 2014-01-13 16:59:21 -05:00
query-dsl Standardized use of “*_length” for parameter names rather than “*_len”. 2014-01-13 15:59:15 +00:00
search Standardized use of “*_length” for parameter names rather than “*_len”. 2014-01-13 15:59:15 +00:00
setup Fixing up code block delimeters for asciidoctor 2014-01-13 15:26:53 +01:00
testing [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
api-conventions.asciidoc Geo clean Up 2014-01-11 21:30:29 +09:00
cat.asciidoc Document h/headers switcheroo. 2014-01-06 16:08:48 -06:00
cluster.asciidoc [DOCS] Fix HTTP endpoints after stats API changes 2014-01-09 11:30:28 +01:00
docs.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc Remove 'term_index_interval' and 'term_index_divisor' 2013-12-10 16:54:08 +01:00
index.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00
indices.asciidoc Add a GetFieldMapping API 2013-10-30 16:16:36 +01:00
mapping.asciidoc Adds a new coerce flag for numeric field mappings which is defaulted to true. 2014-01-13 17:58:18 +00:00
modules.asciidoc [DOCS] Fixed link to tribe.asciidoc 2014-01-13 22:01:12 +01:00
query-dsl.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
search.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
setup.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00