Skip to content

Commit

Permalink
Update the removal of types docs with the new 6.7 behavior. (#38869)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Feb 14, 2019
1 parent 42f8ee1 commit ded0812
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/reference/mapping/removal_of_types.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,10 @@ Elasticsearch 6.x::

* In 6.7, the index creation, index template, and mapping APIs support a query
string parameter (`include_type_name`) which indicates whether requests and
responses should include a type name. It defaults to `true`, and not setting
`include_type_name=false` will result in a deprecation warning. Indices which
don't have an explicit type will use the dummy type name `_doc`.
responses should include a type name. It defaults to `true`, and should be set
to an explicit value to prepare to upgrade to 7.0. Not setting `include_type_name`
will result in a deprecation warning. Indices which don't have an explicit type will
use the dummy type name `_doc`.

Elasticsearch 7.x::

Expand All @@ -269,8 +270,8 @@ Elasticsearch 7.x::
for auto-generated ids.

* The `include_type_name` parameter in the index creation, index template,
and mapping APIs will default to `false`. Setting the parameter will result
in a deprecation warning.
and mapping APIs will default to `false`. Setting the parameter at all will
result in a deprecation warning.

* The `_default_` mapping type is removed.

Expand Down

0 comments on commit ded0812

Please sign in to comment.