catch-up to percentile ranks agg change in es master
Original commit: elastic/x-pack-elasticsearch@b7428ab61f
This commit is contained in:
parent
2c830bdff2
commit
a4bd077913
|
@ -26,9 +26,7 @@ public class PercentileRanksAgg extends LeafAgg {
|
|||
|
||||
@Override
|
||||
AggregationBuilder toBuilder() {
|
||||
// TODO: look at keyed
|
||||
return percentileRanks(id())
|
||||
.field(fieldName())
|
||||
.values(values.stream().mapToDouble(Double::doubleValue).toArray());
|
||||
return percentileRanks(id(), values.stream().mapToDouble(Double::doubleValue).toArray())
|
||||
.field(fieldName());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue