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

Support formatting on datehistogram aggregations #5585

Open
altanozlu opened this issue Dec 10, 2024 · 0 comments
Open

Support formatting on datehistogram aggregations #5585

altanozlu opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@altanozlu
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to make ES endpoints more compatible, I'm intended to use grafana's elasticsearch plugin with quickwit, my goal isn't to replace quickwit plugin, but just to have backward compatibility. Currently grafana's ES plugin uses epoch_millis as a format for datehistograms and tantivy doesn't support format option in datehistograms.

Describe the solution you'd like
I would like to be able to give a optional date formatter function/trait to tantivy aggregations.

Describe alternatives you've considered
Having common datetime formatter/parser crate between tantivy and quickwit.

Additional context
I would like to implement it myself :)

@altanozlu altanozlu added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant