Skip to content

Document that the default date format supports exactly 4-digit years #29014

@jpountz

Description

@jpountz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field types>docsGeneral docs changesTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearchhelp wantedadoptme

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions