date
's format
updateability is trappy
#25271
Labels
>bug
help wanted
adoptme
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Here is a recreation:
date
allows itsformat
to be updated. This is trappy because then it could be changed to a format that doesn't work with already indexed documents, or even worse: a format that parses to a different date.I think we need to ensure that the format either cannot be changed, or make it a list that is append-only so that it is only possible to append date formats.
The text was updated successfully, but these errors were encountered: