Document that the default date format supports exactly 4-digit years #29014
Labels
>docs
General docs changes
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
The default date format is
strict_date_optional_time
and requires exactly 4-digit years because it is used for dynamic date detection and we do not want random strings to be detected as a date by mistake.However it is perfectly fine to have larger years obviously, in which case
date_optional_time
should be used and dynamic date detection should probably be disabled.The text was updated successfully, but these errors were encountered: