|
@@ -258,7 +258,7 @@ Elasticsearch 6.x::
|
|
|
|
|
|
* The `_default_` mapping type is deprecated.
|
|
|
|
|
|
-* In 6.7, the index creation, index template, and mapping APIs support a query
|
|
|
+* In 6.8, 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 should be set
|
|
|
to an explicit value to prepare to upgrade to 7.0. Not setting `include_type_name`
|
|
@@ -442,12 +442,12 @@ documents to it using typeless `index` calls, and load documents with typeless
|
|
|
|
|
|
Index creation, index template, and mapping APIs support a new `include_type_name`
|
|
|
URL parameter that specifies whether mapping definitions in requests and responses
|
|
|
-should contain the type name. The parameter defaults to `true` in version 6.7 to
|
|
|
+should contain the type name. The parameter defaults to `true` in version 6.8 to
|
|
|
match the pre-7.0 behavior of using type names in mappings. It defaults to `false`
|
|
|
in version 7.0 and will be removed in version 8.0.
|
|
|
|
|
|
-It should be set explicitly in 6.7 to prepare to upgrade to 7.0. To avoid deprecation
|
|
|
-warnings in 6.7, the parameter can be set to either `true` or `false`. In 7.0, setting
|
|
|
+It should be set explicitly in 6.8 to prepare to upgrade to 7.0. To avoid deprecation
|
|
|
+warnings in 6.8, the parameter can be set to either `true` or `false`. In 7.0, setting
|
|
|
`include_type_name` at all will result in a deprecation warning.
|
|
|
|
|
|
See some examples of interactions with Elasticsearch with this option set to `false`:
|
|
@@ -717,12 +717,12 @@ indices.
|
|
|
[float]
|
|
|
==== Mixed-version clusters
|
|
|
|
|
|
-In a cluster composed of both 6.7 and 7.0 nodes, the parameter
|
|
|
+In a cluster composed of both 6.8 and 7.0 nodes, the parameter
|
|
|
`include_type_name` should be specified in indices APIs like index
|
|
|
creation. This is because the parameter has a different default between
|
|
|
-6.7 and 7.0, so the same mapping definition will not be valid for both
|
|
|
+6.8 and 7.0, so the same mapping definition will not be valid for both
|
|
|
node versions.
|
|
|
|
|
|
Typeless document APIs such as `bulk` and `update` are only available as of
|
|
|
-7.0, and will not work with 6.7 nodes. This also holds true for the typeless
|
|
|
+7.0, and will not work with 6.8 nodes. This also holds true for the typeless
|
|
|
versions of queries that perform document lookups, such as `terms`.
|