Skip to content

Commit 4e94b89

Browse files
committed
Update the removal of types docs with the new 6.7 behavior. (#38869)
1 parent cfbc5ec commit 4e94b89

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/reference/mapping/removal_of_types.asciidoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,10 @@ Elasticsearch 6.x::
259259

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

266267
Elasticsearch 7.x::
267268

@@ -271,8 +272,8 @@ Elasticsearch 7.x::
271272
for auto-generated ids.
272273

273274
* The `include_type_name` parameter in the index creation, index template,
274-
and mapping APIs will default to `false`. Setting the parameter will result
275-
in a deprecation warning.
275+
and mapping APIs will default to `false`. Setting the parameter at all will
276+
result in a deprecation warning.
276277

277278
* The `_default_` mapping type is removed.
278279

0 commit comments

Comments
 (0)