diff --git a/docs/reference/mapping.asciidoc b/docs/reference/mapping.asciidoc index 3f89571ae5808..96153f5e2a355 100644 --- a/docs/reference/mapping.asciidoc +++ b/docs/reference/mapping.asciidoc @@ -13,29 +13,22 @@ are stored and indexed. For instance, use mappings to define: * custom rules to control the mapping for <>. -[float] -[[mapping-type]] -== Mapping Type - -Each index has one _mapping type_ which determines how the document will be -indexed. - -deprecated::[6.0.0,See <>] - -A mapping type has: +A mapping definition has: <>:: Meta-fields are used to customize how a document's metadata associated is treated. Examples of meta-fields include the document's -<>, <>, -<>, and <> fields. +<>, <>, and +<> fields. <> or _properties_:: -A mapping type contains a list of fields or `properties` pertinent to the +A mapping contains a list of fields or `properties` pertinent to the document. +NOTE: Before 7.0.0, the 'mappings' definition used to include a type name. +For more details, please see <>. [float] [[field-datatypes]] diff --git a/docs/reference/mapping/fields.asciidoc b/docs/reference/mapping/fields.asciidoc index f6d5f00a9b5e0..0ea4b77441c42 100644 --- a/docs/reference/mapping/fields.asciidoc +++ b/docs/reference/mapping/fields.asciidoc @@ -15,7 +15,7 @@ can be customised when a mapping type is created. <>:: - The document's <>. + The document's mapping type. <>:: diff --git a/docs/reference/mapping/fields/type-field.asciidoc b/docs/reference/mapping/fields/type-field.asciidoc index 2c5dc7195d643..6471ad20053fd 100644 --- a/docs/reference/mapping/fields/type-field.asciidoc +++ b/docs/reference/mapping/fields/type-field.asciidoc @@ -3,9 +3,9 @@ deprecated[6.0.0,See <>] -Each document indexed is associated with a <> (see -<>) and an <>. The `_type` field is -indexed in order to make searching by type name fast. +Each document indexed is associated with a <> and +an <>. The `_type` field is indexed in order to make +searching by type name fast. The value of the `_type` field is accessible in queries, aggregations, scripts, and when sorting: