-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Implement formatted doc values for exponential histograms #138095
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
Conversation
f599220 to
b48850e
Compare
…ocvals # Conflicts: # x-pack/plugin/mapper-exponential-histogram/src/test/java/org/elasticsearch/xpack/exponentialhistogram/ExponentialHistogramFieldMapperTests.java
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
|
Looks good to me, but because I have very little experience with this I added @martijnvg as a reviewer too. Thank you @JonasKunz |
martijnvg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I think this is the most straightforward way to support exponential histogram working in downsampling. But only if it is a dimension, right?
Yes, the idea for merging them would be to use |
I think it is fine. Maybe we could do better if we directly integrate with numeric doc values, but benchmarking / profiles should suggest that this would be worth it. |
Implements
FormattedDocValuesfor theexponential_histogramfield type to allow easy iteration in our downsampling implementation.