Skip to content

Commit

Permalink
Remove deprecated _upgrade API (#64732)
Browse files Browse the repository at this point in the history
  • Loading branch information
danhermann authored Nov 12, 2020
1 parent fef57fb commit c829f8e
Show file tree
Hide file tree
Showing 40 changed files with 20 additions and 2,215 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,6 @@ public void testApiNamingConventions() throws Exception {
"get_script_context",
"get_script_languages",
"indices.exists_type",
"indices.get_upgrade",
"indices.put_alias",
"render_search_template",
"scripts_painless_execute",
Expand All @@ -833,7 +832,6 @@ public void testApiNamingConventions() throws Exception {
"dangling_indices.import_dangling_index",
"dangling_indices.list_dangling_indices",
"indices.shard_stores",
"indices.upgrade",
"indices.recovery",
"indices.segments",
"indices.stats",
Expand Down
13 changes: 12 additions & 1 deletion docs/reference/migration/migrate_8_0/indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
//tag::notable-breaking-changes[]
//end::notable-breaking-changes[]

.The deprecated `_upgrade` API has been removed.
[%collapsible]
====
*Details* +
Previously, the `_upgrade` API upgraded indices from the previous major
version to the current version. The `_reindex` API should be used
instead for that purpose.
*Impact* +
Requests made to the old `_upgrade` API will return an error.
====

.The force merge API's `max_num_segments` and `only_expunge_deletes` parameters cannot both be specified in the same request.
[%collapsible]
Expand Down Expand Up @@ -70,7 +81,7 @@ Use the {ref}/indices-flush.html[flush API]. Requests to the
*Details* +
Creating indices with soft deletes disabled was deprecated in 7.6 and
is no longer supported in 8.0. The `index.soft_deletes.enabled` setting
can no longer be set to `false`.
can no longer be set to `false`.
*Impact* +
Discontinue use of the `index.soft_deletes.enabled` index setting. Requests that
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c829f8e

Please sign in to comment.