# Elastic Search 5.6.x : index.mapping.single\_type

**URL:** <https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364>\
**Category:** Elasticsearch\
**Created:** [June 26, 2018, 5:40am UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364 "2018-06-26T05:40:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [June 26, 2018, 5:40am UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/1 "2018-06-26T05:40:04Z")

</div>

Hi,

I am migrating to 5.6.10 from 5.2.2, what is Default value for:

index.mapping.single\_type

Thanks.  
Amit Sinha.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 26, 2018, 6:41am UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/2 "2018-06-26T06:41:09Z")

</div>

I have no idea of what this setting is (was). Could you share where this is coming from? Can't recall.

---

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [June 26, 2018, 4:59pm UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/3 "2018-06-26T16:59:00Z")

</div>

Thank you. Please refer following url:

[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/removal-of-types.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/removal-of-types.html)

Schedule for removal of mapping types  
This is a big change for our users, so we have tried to make it as painless as possible. The change will roll out as follows:

Elasticsearch 5.6.0  
**Setting index.mapping.single\_type** : true on an index will enable the single-type-per-index behaviour which will be enforced in 6.0.

Regards  
Amit.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 26, 2018, 5:42pm UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/4 "2018-06-26T17:42:21Z")

</div>

I see. It's false by default in 5.6 and true in 6.0.

---

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [June 26, 2018, 6:59pm UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/5 "2018-06-26T18:59:09Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 24, 2018, 6:59pm UTC](https://discuss.elastic.co/t/elastic-search-5-6-x-index-mapping-single-type/137364/6 "2018-07-24T18:59:14Z")

</div>

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