diff --git a/docs/reference/glossary.asciidoc b/docs/reference/glossary.asciidoc index e59e57f3c5a..e13b5812f7b 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 66460ce7135..427ddf631ce 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,console] ---- diff --git a/docs/reference/indices/alias-exists.asciidoc b/docs/reference/indices/alias-exists.asciidoc index 2c56d5363d8..8caa3080fee 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,console] ---- diff --git a/docs/reference/indices/aliases.asciidoc b/docs/reference/indices/aliases.asciidoc index aff3e3b88fc..991b65b0793 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,console] ---- diff --git a/docs/reference/indices/delete-alias.asciidoc b/docs/reference/indices/delete-alias.asciidoc index 1df34a3753e..4ab144a2fd6 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,console] ---- diff --git a/docs/reference/indices/get-alias.asciidoc b/docs/reference/indices/get-alias.asciidoc index 14cb3a612ca..8b25e3c21ac 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,console] ----