From cf06cb12a4cb87a5df37f77130fe868eeb592161 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Mon, 11 Jan 2021 14:28:10 -0500 Subject: [PATCH] [DOCS] Mark template exists API as legacy (#67286) (#67289) --- docs/reference/indices.asciidoc | 3 +-- .../indices/delete-index-template-v1.asciidoc | 2 +- docs/reference/indices/get-index-template-v1.asciidoc | 2 +- ...sts.asciidoc => index-template-exists-v1.asciidoc} | 11 ++++++++--- .../reference/indices/put-component-template.asciidoc | 2 +- docs/reference/indices/put-index-template-v1.asciidoc | 2 +- docs/reference/redirects.asciidoc | 5 +++++ 7 files changed, 18 insertions(+), 9 deletions(-) rename docs/reference/indices/{template-exists.asciidoc => index-template-exists-v1.asciidoc} (74%) diff --git a/docs/reference/indices.asciidoc b/docs/reference/indices.asciidoc index 1db026b2cca..46352a7a7d0 100644 --- a/docs/reference/indices.asciidoc +++ b/docs/reference/indices.asciidoc @@ -64,7 +64,6 @@ For more information, see <>. * <> * <> * <> -* <> * <> * <> @@ -150,7 +149,7 @@ include::indices/shard-stores.asciidoc[] include::indices/stats.asciidoc[] -include::indices/template-exists.asciidoc[] +include::indices/index-template-exists-v1.asciidoc[] include::indices/open-close.asciidoc[] diff --git a/docs/reference/indices/delete-index-template-v1.asciidoc b/docs/reference/indices/delete-index-template-v1.asciidoc index e9e517625fb..3ad0a0e347c 100644 --- a/docs/reference/indices/delete-index-template-v1.asciidoc +++ b/docs/reference/indices/delete-index-template-v1.asciidoc @@ -7,7 +7,7 @@ IMPORTANT: This documentation is about <>, which are deprecated and will be replaced by the composable templates introduced in {es} 7.8. For information about composable templates, -<>. +see <>. Deletes a legacy index template. diff --git a/docs/reference/indices/get-index-template-v1.asciidoc b/docs/reference/indices/get-index-template-v1.asciidoc index c7c389f49c4..7b6d30bee89 100644 --- a/docs/reference/indices/get-index-template-v1.asciidoc +++ b/docs/reference/indices/get-index-template-v1.asciidoc @@ -6,7 +6,7 @@ IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in {es} 7.8. -For information about composable templates, <>. +For information about composable templates, see <>. Retrieves information about one or more index templates. diff --git a/docs/reference/indices/template-exists.asciidoc b/docs/reference/indices/index-template-exists-v1.asciidoc similarity index 74% rename from docs/reference/indices/template-exists.asciidoc rename to docs/reference/indices/index-template-exists-v1.asciidoc index 7c125863800..c71d9cddda4 100644 --- a/docs/reference/indices/template-exists.asciidoc +++ b/docs/reference/indices/index-template-exists-v1.asciidoc @@ -1,10 +1,15 @@ -[[indices-template-exists]] +[[indices-template-exists-v1]] === Index template exists API ++++ -Index template exists +Index template exists (legacy) ++++ -Checks if an <> exists. +IMPORTANT: This documentation is about <>, which are deprecated and will be replaced by the composable +templates introduced in {es} 7.8. For information about composable templates, +see <>. + +Checks if an <> exists. diff --git a/docs/reference/indices/put-component-template.asciidoc b/docs/reference/indices/put-component-template.asciidoc index 79930a8a99e..2b935b91143 100644 --- a/docs/reference/indices/put-component-template.asciidoc +++ b/docs/reference/indices/put-component-template.asciidoc @@ -152,7 +152,7 @@ actual index name that the template gets applied to, during index creation. ===== Applying component templates You cannot directly apply a component template to a data stream or index. -To be applied, a component template must be included in an index template's `composed_of` list. See <>. +To be applied, a component template must be included in an index template's `composed_of` list. See <>. [[component-templates-version]] ===== Component template versioning diff --git a/docs/reference/indices/put-index-template-v1.asciidoc b/docs/reference/indices/put-index-template-v1.asciidoc index cc5f065412e..578694ef8c2 100644 --- a/docs/reference/indices/put-index-template-v1.asciidoc +++ b/docs/reference/indices/put-index-template-v1.asciidoc @@ -6,7 +6,7 @@ IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in {es} 7.8. -For information about composable templates, <>. +For information about composable templates, see <>. Creates or updates an index template. diff --git a/docs/reference/redirects.asciidoc b/docs/reference/redirects.asciidoc index b70516c83e4..aa4dd7194e8 100644 --- a/docs/reference/redirects.asciidoc +++ b/docs/reference/redirects.asciidoc @@ -1075,6 +1075,11 @@ The `xpack.sql.enabled` setting has been deprecated. SQL access is always enable See <>. +[role="exclude",id="indices-template-exists"] +=== Index template exists (legacy) + +See <>. + [role="exclude",id="run-a-search"] === Run a search