Default index template

With legacy templates, we used to have a "default template" (with * pattern and order -10) which sets a few index settings including threshold for slowlogs, number of shard, and number of replicas. Then users could create their own templates with higher "order" and we could still make sure all indices have the default settings we wanted.
With index templates, it seems that only 1 template is picked.

     * Return an ordered list of the name (id) and composable index templates that would apply to an index. The first
     * one is the winner template that is applied to this index. In the event that no templates are matched,
     * an empty list is returned.

How do we implement the same behavior with index templates?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.