# Legacy index template is ignored

**URL:** https://discuss.elastic.co/t/legacy-index-template-is-ignored/362246
**Category:** Kibana
**Created:** [June 30, 2024, 4:50am UTC](https://discuss.elastic.co/t/legacy-index-template-is-ignored/362246 "2024-06-30T04:50:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![siakc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siakc/32/135480_2.png) [@siakc](https://discuss.elastic.co/u/siakc)
#### Post date: [June 30, 2024, 4:50am UTC](https://discuss.elastic.co/t/legacy-index-template-is-ignored/362246/1 "2024-06-30T04:50:32Z")

</div>

I have a new style index template without any mapping and a legacy one with all the mappings. The matching indices do not inherit mapping from the legacy one. I expected the two templates to merge.

This is a related issue: [Template setting is not honored by the index](https://discuss.elastic.co/t/template-setting-is-not-honored-by-the-index/361903)

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [June 30, 2024, 2:11pm UTC](https://discuss.elastic.co/t/legacy-index-template-is-ignored/362246/2 "2024-06-30T14:11:37Z")

</div>

> [@siakc](#):
>
> I expected the two templates to merge.

This won't happen by design, composable template does not merge with legacy template.

If you have a composable template that matchs an index pattern, the legacy template for it will not be used.

You will need to migrate your mappings to a composable template.
