# How to overwrite the default template

**URL:** <https://discuss.elastic.co/t/how-to-overwrite-the-default-template/145694>\
**Category:** Elasticsearch\
**Created:** [August 23, 2018, 10:05am UTC](https://discuss.elastic.co/t/how-to-overwrite-the-default-template/145694 "2018-08-23T10:05:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ethan-Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ethan-zhang/32/54812_2.png) [@Ethan-Zhang](https://discuss.elastic.co/u/Ethan-Zhang)\
**Post date:** [August 23, 2018, 12:03pm UTC](https://discuss.elastic.co/t/how-to-overwrite-the-default-template/145694/2 "2018-08-23T12:03:53Z")

</div>

same question as [Unable to create index with more that 1 type in 6.x](https://discuss.elastic.co/t/unable-to-create-index-with-more-that-1-type-in-6-x/106089)

from 6.x, you can't create more than 1 type in one index

---

_[View the full topic](https://discuss.elastic.co/t/how-to-overwrite-the-default-template/145694)._
