You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following list of data:
[22,22,25,26,2730,31,31,32,32,32,36,36,36,38,25,26,27,38,40]
when I use the following query to get the percentile ranks for the given values
{
"aggregations" : {
"agg" : {
"percentile_ranks" : {
"field" : "score",
"values" : [40, 40.5]
}
}
}
}
40 is the highest value , so shouldn't 40.5 be 100?
is this value returned from elasticsearch correct or is this a bug?
If its correct then, how is the percentile rank calculated to give you this value?
The text was updated successfully, but these errors were encountered:
Hi,
I have the following list of data:
[22,22,25,26,2730,31,31,32,32,32,36,36,36,38,25,26,27,38,40]
when I use the following query to get the percentile ranks for the given values
{
"aggregations" : {
"agg" : {
"percentile_ranks" : {
"field" : "score",
"values" : [40, 40.5]
}
}
}
}
I get the following:
{
"took" : 5,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 19,
"max_score" : 1.0,
"hits" : [ ]
},
"aggregations" : {
"agg" : {
"values" : {
"40": 91.176,
"40.5": 92.647
}
}
}
}
40 is the highest value , so shouldn't 40.5 be 100?
is this value returned from elasticsearch correct or is this a bug?
If its correct then, how is the percentile rank calculated to give you this value?
The text was updated successfully, but these errors were encountered: