-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Add a weight for documents in percentiles aggregations #41479
Comments
Pinging @elastic/es-search |
Pinging @elastic/es-analytics-geo |
My use case is about collecting points with variable sample rate: eg let's collect page load time:
It's easy to convert the sample rate to a weight, it's the direct inverse ( |
Thanks for the details. I'm closing in favor of #33214 then, which would give the ability to directly index an histogram of load times into Elasticsearch, which could later be used in the percentiles aggregation. |
This is a feature request:
The same way it's possible to compute a weighted average of a doc property using the "Weighted Avg Aggregation", I would like to be able to compute a Weighted Percentile Aggregation.
It seems it's impossible to achieve at the moment without re-implementing the whole percentile algorithm with scripts.
I think it has already been discussed in the past here #8094
The text was updated successfully, but these errors were encountered: