-
Notifications
You must be signed in to change notification settings - Fork 533
can't customize date type format when mapping types #922
Comments
@meejoe Did you try deleting and creating the index again after changing the mapping? If the mapping changes, the index has to be created again for the new changes to take effect. Moreover you are using the default dateOptionalTime format itself :). Please check the below links for reference. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html |
@ovamsikrishna I'm afraid I didn't express the problem clearly. |
@meejoe So, when you re-create the index with this mapping definition, you see Can you turn on logging with |
my mapping code:
but actually the date type is stored with the default format:
format: dateOptionalTime
2012-03-13T11:22:42+08:00
The text was updated successfully, but these errors were encountered: