# Update mapping to support an additional date format (without reindexing)

**URL:** <https://discuss.elastic.co/t/update-mapping-to-support-an-additional-date-format-without-reindexing/294704>\
**Category:** Elasticsearch\
**Created:** [January 18, 2022, 2:13pm UTC](https://discuss.elastic.co/t/update-mapping-to-support-an-additional-date-format-without-reindexing/294704 "2022-01-18T14:13:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lee\_Tonks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lee_tonks/32/85777_2.png) [@Lee\_Tonks](https://discuss.elastic.co/u/Lee_Tonks)\
**Post date:** [January 18, 2022, 2:13pm UTC](https://discuss.elastic.co/t/update-mapping-to-support-an-additional-date-format-without-reindexing/294704/1 "2022-01-18T14:13:59Z")

</div>

Is it possible to update my document mapping to support an additional date/time format _without_ having to reindex?

ie my current format is:  
`{"type": "date", "format": "yyyy-MM-dd HH:mm:ss"}`

and the format I want to set is:  
`{"type": "date", "format": "yyyy-MM-dd HH:mm:ss.SSSSSSS||yyyy-MM-dd HH:mm:ss"}`

Given that the current documents will still be valid I expected to be able to do this, but when I try I get a 'conflicts with existing mapping in other types' error.

Is this expected behaviour? I'm using Elasticsearch 6.6.

---

<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:** [February 15, 2022, 2:14pm UTC](https://discuss.elastic.co/t/update-mapping-to-support-an-additional-date-format-without-reindexing/294704/2 "2022-02-15T14:14:50Z")

</div>

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