Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the scope of index template configuration #111667

Open
fdartayre opened this issue Aug 7, 2024 · 2 comments
Open

Clarify the scope of index template configuration #111667

fdartayre opened this issue Aug 7, 2024 · 2 comments
Labels
:Data Management/Data streams Data streams and their lifecycles >docs General docs changes >enhancement Team:Data Management Meta label for data/management team Team:Docs Meta label for docs team

Comments

@fdartayre
Copy link
Contributor

fdartayre commented Aug 7, 2024

Related #66163

We could clarify the section in put-index-template.asciidoc:

Creates or updates an index template. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.

For data streams, it's true for settings and mappings, but aliases are created at data stream level and are not applied to backing indices. In particular, modifying aliases has no effect on rollover.

Similarly in index-templates.asciidoc:

An index template is a way to tell Elasticsearch how to configure an index when it is created. For data streams, the index template configures the stream’s backing indices as they are created.

While it's true for settings and mappings, I don't think it is for aliases, which are created at data stream level.

@fdartayre fdartayre added >enhancement >docs General docs changes :Data Management/Data streams Data streams and their lifecycles Team:Docs Meta label for docs team labels Aug 7, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Aug 7, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles >docs General docs changes >enhancement Team:Data Management Meta label for data/management team Team:Docs Meta label for docs team
Projects
None yet
Development

No branches or pull requests

2 participants