OpenSearch/docs/reference/indices
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
..
aliases.asciidoc Make PUT and DELETE consistent for _mapping, _alias and _warmer 2014-01-14 20:02:43 +01:00
analyze.asciidoc Support 'yaml' as a format for the Analyze API 2013-12-08 15:08:00 -07:00
clearcache.asciidoc remove bloom from clear cache API, add id_cache 2014-01-09 21:08:45 +01:00
create-index.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
delete-index.asciidoc Added `action.destructive_requires_name` that controls whether wildcard expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) 2014-01-09 11:36:50 +01:00
delete-mapping.asciidoc Make PUT and DELETE consistent for _mapping, _alias and _warmer 2014-01-14 20:02:43 +01:00
flush.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
gateway-snapshot.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
get-field-mapping.asciidoc Add wildcard support to field resolving in the Get Field Mapping API 2013-12-10 23:46:37 +01:00
get-mapping.asciidoc Add a GetFieldMapping API 2013-10-30 16:16:36 +01:00
get-settings.asciidoc Added extra rest endpoint for get settings api. 2014-01-09 09:44:40 +01:00
indices-exists.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
open-close.asciidoc Added `action.destructive_requires_name` that controls whether wildcard expressions and `_all` is allowed to be used for destructive operat Also the delete index api requires always an index to be specified (either concrete index, alias or wildcard expression) 2014-01-09 11:36:50 +01:00
optimize.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
put-mapping.asciidoc Make PUT and DELETE consistent for _mapping, _alias and _warmer 2014-01-14 20:02:43 +01:00
refresh.asciidoc Rename RobinEngine and friends to InternalEngine 2014-01-13 15:49:10 +01:00
segments.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
stats.asciidoc Simplify indices stats API 2014-01-06 07:27:03 +01:00
status.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
templates.asciidoc [DOCS] Fixed a typo in indices.get_templates 2013-10-03 11:40:29 +02:00
types-exists.asciidoc [DOCS] Removed outdated new/deprecated version notices 2013-09-03 21:28:31 +02:00
update-settings.asciidoc Deprecated disable allocation decider which has the following options: 2014-01-09 10:01:46 +01:00
warmers.asciidoc Make PUT and DELETE consistent for _mapping, _alias and _warmer 2014-01-14 20:02:43 +01:00