# Elasticsearch 5.2 when a index have many types how to delete one of types?

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468>\
**Category:** Elasticsearch\
**Created:** [February 9, 2017, 7:44am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468 "2017-02-09T07:44:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [February 9, 2017, 7:44am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468/1 "2017-02-09T07:44:03Z")

</div>

Elasticsearch 5.2 when a index have many types how to delete one of types?  
thanks

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [February 9, 2017, 7:47am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468/2 "2017-02-09T07:47:33Z")

</div>

thanks..

---

<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:** [February 9, 2017, 11:51am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468/3 "2017-02-09T11:51:11Z")

</div>

You can't really delete a type. The mapping will still be there.  
You may want to reindex instead.

---

<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:** [March 9, 2017, 11:51am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-when-a-index-have-many-types-how-to-delete-one-of-types/74468/4 "2017-03-09T11:51:23Z")

</div>

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