diff --git a/docs/reference/indices/create-index.asciidoc b/docs/reference/indices/create-index.asciidoc index e81e52aaea664..d2e973261f4ea 100644 --- a/docs/reference/indices/create-index.asciidoc +++ b/docs/reference/indices/create-index.asciidoc @@ -77,7 +77,7 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms] .Properties of `aliases` objects ======= ``:: -(Required, object) The key is the alias name. Supports +(Required, object) The key is the alias name. Index alias names support <>. + The object body contains options for the alias. Supports an empty object. diff --git a/docs/reference/indices/put-component-template.asciidoc b/docs/reference/indices/put-component-template.asciidoc index 31de9002a33ee..8c6756c496a18 100644 --- a/docs/reference/indices/put-component-template.asciidoc +++ b/docs/reference/indices/put-component-template.asciidoc @@ -132,8 +132,9 @@ This is the template to be applied, may optionally include a `mappings`, [%collapsible%open] ==== `aliases`:: -(Optional, object of objects) Aliases for the index. If an index template -includes `data_stream`, this parameter is not supported. +(Optional, object of objects) Aliases to add. ++ +include::{es-repo-dir}/indices/put-index-template.asciidoc[tag=template-ds-alias] + include::{es-repo-dir}/indices/create-index.asciidoc[tag=aliases-props] diff --git a/docs/reference/indices/put-index-template.asciidoc b/docs/reference/indices/put-index-template.asciidoc index 8968cccbb9118..4b830c6b2f083 100644 --- a/docs/reference/indices/put-index-template.asciidoc +++ b/docs/reference/indices/put-index-template.asciidoc @@ -137,8 +137,13 @@ Template to be applied. It may optionally include an `aliases`, `mappings`, or [%collapsible%open] ==== `aliases`:: -(Optional, object of objects) Aliases for the index. If the index template -includes `data_stream`, this parameter is not supported. +(Optional, object of objects) Aliases to add. ++ +// tag::template-ds-alias[] +If the index template includes a `data_stream` object, these are data stream +aliases. Otherwise, these are index aliases. Data stream aliases ignore the +`index_routing`, `routing`, and `search_routing` options. +// end::template-ds-alias[] + include::{es-repo-dir}/indices/create-index.asciidoc[tag=aliases-props]