elastic/elasticsearch

Allow percentiles_bucket use interpolation

Open

#51,691 opened on Jan 30, 2020

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Java (25,882 forks)batch import
:Analytics/Aggregations>enhancementTeam:Analyticsgood first issuehelp wanted

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (Avg merge 2d) (1,000 merged PRs in 30d)

Description

Change the behavior or add a param to make the percentiles_bucket pipeline aggregation interpolate the result instead of return the nearest value.

The current behaviour is expected as it's properly documented and it was also discussed in the PR that introduced this pipeline (https://github.com/elastic/elasticsearch/pull/13186#discussion_r38412622).

But I find it annoying that the percentils metrics aggregation interpolates the value so both are not consistent.

Contributor guide