From 9c09e245fe5baf3bc021128f22e6e83693b39adb Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:42:29 -0400 Subject: [PATCH 1/2] [DOCS] Remove `include_type_name` query parameter Adds an 8.0 breaking change for PR #48632. --- .../migration/migrate_8_0/mappings.asciidoc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/reference/migration/migrate_8_0/mappings.asciidoc b/docs/reference/migration/migrate_8_0/mappings.asciidoc index 3e88cc6f65c72..017233cede646 100644 --- a/docs/reference/migration/migrate_8_0/mappings.asciidoc +++ b/docs/reference/migration/migrate_8_0/mappings.asciidoc @@ -18,7 +18,6 @@ Use a maximum of 10 completion contexts in a completion field. Specifying more than 10 completion contexts will return an error. ==== - .Mapping API endpoints containing mapping types have been removed. [%collapsible] ==== @@ -108,4 +107,18 @@ These parameters have been removed in 8.0.0. In 8.0, you can no longer create mappings that include these parameters. However, 7.x indices that use these mapping parameters will continue to work. ==== + +.The `include_type_name` query parameter has been removed. +[%collapsible] +==== +*Details* + +The `include_type_name` query parameter has been removed from the index +creation, index template, and mapping APIs. Previously, you could set +`include_type_name` to `true` to indicate that requests and responses should +include a mapping type name. Mapping types have been removed in 8.0. + +*Impact* + +Discontinue use of the `include_type_name` query parameter. Requests that +include the parameter will return an error. +==== // end::notable-breaking-changes[] From 31cda78c491291f9a6b94a55cb24e20fe39c1307 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 28 Sep 2021 19:09:06 -0400 Subject: [PATCH 2/2] Reword --- docs/reference/migration/migrate_8_0/mappings.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/migration/migrate_8_0/mappings.asciidoc b/docs/reference/migration/migrate_8_0/mappings.asciidoc index 017233cede646..71721120dd7d7 100644 --- a/docs/reference/migration/migrate_8_0/mappings.asciidoc +++ b/docs/reference/migration/migrate_8_0/mappings.asciidoc @@ -115,7 +115,7 @@ However, 7.x indices that use these mapping parameters will continue to work. The `include_type_name` query parameter has been removed from the index creation, index template, and mapping APIs. Previously, you could set `include_type_name` to `true` to indicate that requests and responses should -include a mapping type name. Mapping types have been removed in 8.0. +include a mapping type name. Mapping types have been removed in 8.x. *Impact* + Discontinue use of the `include_type_name` query parameter. Requests that