Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jpountz opened this issue Mar 13, 2018 · 1 comment
Closed

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

jpountz opened this issue Mar 13, 2018 · 1 comment
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

Comments

@jpountz
Copy link
Contributor

jpountz commented Mar 13, 2018

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.

@jpountz jpountz added >docs General docs changes :Search Foundations/Mapping Index mappings, including merging and defining field types labels Mar 13, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@jpountz jpountz added the help wanted adoptme label Mar 13, 2018
jpountz added a commit to jpountz/elasticsearch that referenced this issue Mar 15, 2018
@javanna javanna added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants