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

Dates should be given in timestamp if dateformat is not specified #910

Closed
MohamedHamouGisaia opened this issue Aug 31, 2023 · 0 comments · Fixed by #909
Closed

Dates should be given in timestamp if dateformat is not specified #910

MohamedHamouGisaia opened this issue Aug 31, 2023 · 0 comments · Fixed by #909
Assignees
Labels
type:bug Something isn't working
Milestone

Comments

@MohamedHamouGisaia
Copy link
Member

MohamedHamouGisaia commented Aug 31, 2023

  • In our documentation we demand that dates should be given in milliseconds for the queries ( lte, gte, range, eq, neq) if the dateformat query parameter is not specified.

  • In our current implementation. If :

    • a date field is indexed as date
    • in a format different from 'epoch_millis'
    • and not specified as the timestamp path of a collection

then when we apply a _search request with the mentioned-date-field and with milliseconds, an error 400 is thrown. => we do not respect the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant