Skip to content

Missing documentation of formats on dates in range queries #30634

@ensslen

Description

@ensslen

Elasticsearch version (bin/elasticsearch --version):n/a

Plugins installed: n/a

JVM version (java -version): n/a

OS version (uname -a if on a Unix-like system): n/a

Description of the problem including expected versus actual behavior:
According to Elastic, formats on range queries need to resolve to a specific date. The documentation does not mention this.
Someone who knows how formats on dates in range queries work needs to update the documentation. It appears to me that the format always needs to include the year, and can only include finer grained periods if all of the coarser periods are specified.

Steps to reproduce: n/a

Provide logs (if relevant): n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>docsGeneral docs changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions