diff --git a/docs/reference/glossary.asciidoc b/docs/reference/glossary.asciidoc index e59e57f3c5a53..e13b5812f7b6f 100644 --- a/docs/reference/glossary.asciidoc +++ b/docs/reference/glossary.asciidoc @@ -96,6 +96,20 @@ An index is a logical namespace which maps to one or more <> and can have zero or more <>. +[[glossary-index-alias]] index alias :: ++ +-- +// tag::index-alias-def[] +An index alias is a secondary name +used to refer to one or more existing indices. + +Most {es} APIs accept an index alias +in place of an index name. +// end::index-alias-def[] + +See <>. +-- + [[glossary-leader-index]] leader index :: Leader indices are the source indices for <>. They exist diff --git a/docs/reference/indices/add-alias.asciidoc b/docs/reference/indices/add-alias.asciidoc index a5c7d4c49e90b..8b11a30cc324c 100644 --- a/docs/reference/indices/add-alias.asciidoc +++ b/docs/reference/indices/add-alias.asciidoc @@ -6,7 +6,7 @@ Creates or updates an index alias. -include::alias-exists.asciidoc[tag=index-alias-def] +include::{docdir}/glossary.asciidoc[tag=index-alias-def] [source,js] ---- diff --git a/docs/reference/indices/alias-exists.asciidoc b/docs/reference/indices/alias-exists.asciidoc index e1398f079952e..92b53eb72fd13 100644 --- a/docs/reference/indices/alias-exists.asciidoc +++ b/docs/reference/indices/alias-exists.asciidoc @@ -6,14 +6,7 @@ Checks if an index alias exists. -//tag::index-alias-def[] -An index alias is a secondary name -used to refer to one or more existing indices. -//end::index-alias-def[] - -The returned HTTP status code indicates whether the index alias exists or not. -A `404` means it does not exist, -and `200` means it does. +include::{docdir}/glossary.asciidoc[tag=index-alias-def] [source,js] ---- diff --git a/docs/reference/indices/aliases.asciidoc b/docs/reference/indices/aliases.asciidoc index 9d3507f5ac8d6..bbde1367886bd 100644 --- a/docs/reference/indices/aliases.asciidoc +++ b/docs/reference/indices/aliases.asciidoc @@ -6,7 +6,7 @@ Adds or removes index aliases. -include::alias-exists.asciidoc[tag=index-alias-def] +include::{docdir}/glossary.asciidoc[tag=index-alias-def] [source,js] ---- diff --git a/docs/reference/indices/delete-alias.asciidoc b/docs/reference/indices/delete-alias.asciidoc index e7ef772cbbd64..217185da090b7 100644 --- a/docs/reference/indices/delete-alias.asciidoc +++ b/docs/reference/indices/delete-alias.asciidoc @@ -6,7 +6,7 @@ Deletes an existing index alias. -include::alias-exists.asciidoc[tag=index-alias-def] +include::{docdir}/glossary.asciidoc[tag=index-alias-def] [source,js] ---- diff --git a/docs/reference/indices/get-alias.asciidoc b/docs/reference/indices/get-alias.asciidoc index 9a66eb65d4d54..4e4d6f875afc1 100644 --- a/docs/reference/indices/get-alias.asciidoc +++ b/docs/reference/indices/get-alias.asciidoc @@ -6,7 +6,7 @@ Returns information about one or more index aliases. -include::alias-exists.asciidoc[tag=index-alias-def] +include::{docdir}/glossary.asciidoc[tag=index-alias-def] [source,js] ----