From c1d49ce6e798531c3373b5200f30ee67e17c86a7 Mon Sep 17 00:00:00 2001 From: Stef Nestor Date: Sat, 9 Oct 2021 15:01:18 -0600 Subject: [PATCH 1/2] +Deprecation warning onto Unfreeze Index Hey, team! Copying over deprecation warning from [Freeze Index API](https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html) page for parity. --- docs/reference/indices/apis/unfreeze.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/reference/indices/apis/unfreeze.asciidoc b/docs/reference/indices/apis/unfreeze.asciidoc index 4cba93f009403..8844b76e6febc 100644 --- a/docs/reference/indices/apis/unfreeze.asciidoc +++ b/docs/reference/indices/apis/unfreeze.asciidoc @@ -6,6 +6,11 @@ Unfreeze index ++++ +// tag::freeze-api-dep[] +deprecated::[7.14, Frozen indices are no longer useful due to https://www.elastic.co/blog/significantly-decrease-your-elasticsearch-heap-memory-usage[recent improvements in heap memory usage].] +// end::freeze-api-dep[] + + Unfreezes an index. [[unfreeze-index-api-request]] From 6e52c9c3c90e74178d6e26976537b994cbd07af5 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Mon, 11 Oct 2021 09:40:23 -0400 Subject: [PATCH 2/2] Reuse dep admon from freeze API --- docs/reference/indices/apis/unfreeze.asciidoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/reference/indices/apis/unfreeze.asciidoc b/docs/reference/indices/apis/unfreeze.asciidoc index 8844b76e6febc..23cd439e31e6e 100644 --- a/docs/reference/indices/apis/unfreeze.asciidoc +++ b/docs/reference/indices/apis/unfreeze.asciidoc @@ -6,9 +6,7 @@ Unfreeze index ++++ -// tag::freeze-api-dep[] -deprecated::[7.14, Frozen indices are no longer useful due to https://www.elastic.co/blog/significantly-decrease-your-elasticsearch-heap-memory-usage[recent improvements in heap memory usage].] -// end::freeze-api-dep[] +include::{es-repo-dir}/indices/apis/freeze.asciidoc[tag=freeze-api-dep] Unfreezes an index.