瀏覽代碼

[DOCS] Remove index API's `types` option (#78335)

Adds an 8.0 breaking change for PR #47203.
James Rodewig 4 年之前
父節點
當前提交
0c01bcdd9f
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      docs/reference/migration/migrate_8_0/indices.asciidoc

+ 13 - 0
docs/reference/migration/migrate_8_0/indices.asciidoc

@@ -116,4 +116,17 @@ index setting].
 Accept the new behaviour, or specify `?wait_for_active_shards=0` to preserve
 the old behaviour if needed.
 ====
+
+.The index stats API's `types` query parameter has been removed.
+[%collapsible]
+====
+*Details* +
+The index stats API's `types` query parameter has been removed. Previously, you
+could combine `types` with the `indexing` query parameter to return indexing
+stats for specific mapping types. Mapping types have been removed in 8.0.
+
+*Impact* +
+Discontinue use of the `types` query parameter. Requests that include the
+parameter will return an error.
+====
 //end::notable-breaking-changes[]