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

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.

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