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

Actually support the format option in the ES API's RangeQuery #5109

Closed
fulmicoton opened this issue Jun 12, 2024 · 1 comment
Closed

Actually support the format option in the ES API's RangeQuery #5109

fulmicoton opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fulmicoton
Copy link
Contributor

fulmicoton commented Jun 12, 2024

the parameter is introduced in #5098, but is noop at the moment.

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html
It makes it possible for the client to pass dates in a specific format
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html

@fulmicoton fulmicoton added enhancement New feature or request good first issue Good for newcomers labels Jun 12, 2024
@fulmicoton fulmicoton changed the title Actually support the format option in RangeQuery Actually support the format option in the ES API's RangeQuery Jun 12, 2024
@fulmicoton
Copy link
Contributor Author

It can be done by doing the conversion in the elastic search dsl range query (quickwit-query/src/elastic_query_dsl/range_query.rs)
and reserializing it into rfc3339 before creating the QueryASt's range query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants