IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Override default template
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Override default template
editYou can override the default mappings for all indices and all types
by specifying a _default_
type mapping in an index template
which matches all indices.
For example, to disable the _all
field by default for all types in all
new indices, you could create the following index template: