Hi I have a problems with Percentiles aggregations or better I would like to understand a different behaviour between two different minor versions of Elasticsearch :
Problems : find percentiles of this series (10 elements of integers values):
100,200,300,400,500,600,700,800,900,1000
expected values :
1st percentile --> 100.0
5th percentile --> 100.0
25th percentile --> 300.0
50th percentile --> 550.0
75th percentile --> 800.0
95th percentile --> 1000.0
99th percentile --> 1000.0
What happens is that with ES 6.2.4 I have these results
1st percentile --> 109.0
5th percentile --> 145.0
25th percentile --> 325.0
50th percentile --> 550.0
75th percentile --> 775.0
95th percentile --> 955.0
99th percentile --> 991.0
What happens is that with ES 6.3.2 I have these results
1st percentile --> 100.0
5th percentile --> 100.0
25th percentile --> 300.0
50th percentile --> 550.0
75th percentile --> 800.0
95th percentile --> 1000.0
99th percentile --> 1000.0
I've had a look at the docs, but nothing about minor bc or changes in the algorithm;
I've had a look at the ES source code, but again, nothing seems to have changed.
So anyone has an idea of what's happening ?
Maybe I'm doing something wrong or I forgot the math behind it
Thanks a lot.
Federico