OpenSearch/docs/reference/indices
Adrien Grand 6a6c0ea5e6
Add an `include_type_name` option. (#29453)
This adds an `include_type_name` option to the `indices.create`,
`indices.get_mapping` and `indices.put_mapping` APIs, which defaults to `true`.
When set to `false`, then mappings will be returned directly in the body of
the `indices.get_mapping` API, without keying them by the type name, the
`indices.create` will expect mappings directly under the `mappings` key, and
the `indices.put_mapping` will use `_doc` as a type name and fail if a `type`
is provided explicitly.

Relates #15613
2018-04-11 15:54:16 +02:00
..
aliases.asciidoc Remove usage of multi-types from the docs and added a page explaining type removal (#25543) 2017-07-05 12:30:19 +02:00
analyze.asciidoc Limit the number of tokens produced by _analyze (#27529) 2017-11-30 11:54:39 -05:00
clearcache.asciidoc Add CONSOLE to a few snippets in reference docs 2016-09-01 13:08:36 -04:00
create-index.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
delete-index.asciidoc [DOCS] delete index no longer supports specifying aliases 2017-06-19 10:30:05 +02:00
flush.asciidoc Move trimming unsafe commits from engine ctor to store (#29260) 2018-03-29 13:35:57 -04:00
forcemerge.asciidoc Add CONSOLE to a few snippets in reference docs 2016-09-01 13:08:36 -04:00
get-field-mapping.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
get-index.asciidoc Remove comma-separated feature parsing for GetIndicesAction 2017-06-02 14:43:38 -06:00
get-mapping.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
get-settings.asciidoc CONSOLEify some more Indices APIs (#24375) 2017-05-01 13:56:39 -04:00
indices-exists.asciidoc documentation fix: index exists is ambiguous (#28460) 2018-02-01 13:22:32 -08:00
open-close.asciidoc Add wait_for_active_shards parameter to index open command (#26682) 2017-09-22 11:15:03 +02:00
put-mapping.asciidoc Add an `include_type_name` option. (#29453) 2018-04-11 15:54:16 +02:00
recovery.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
refresh.asciidoc Add CONSOLE to more docs 2016-09-01 17:08:18 -04:00
rollover-index.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
segments.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shard-stores.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shrink-index.asciidoc Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
split-index.asciidoc Explain why Elasticsearch doesn't support incremental resharding. (#29082) 2018-03-16 16:50:58 +01:00
stats.asciidoc Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
templates.asciidoc Reformat paragraph in template docs to 80 columns 2017-10-12 17:52:43 -04:00
types-exists.asciidoc Switch indices.exists_type from `{index}/{type}` to `{index}/_mapping/{type}`. #20055 2016-08-19 09:18:24 +02:00
update-settings.asciidoc Docs: Add example of resetting index setting (#29048) 2018-03-19 20:04:58 -07:00