Aggregations: Fixes the defaults for `keyed` in the percentiles aggregations
During the aggregation refactoring the default value for `keyed` in the `percentiles` and `percentile_ranks` aggregation was inadvertently changed from `true` to `false`. This change reverts the defaults to the old (correct) value
This commit is contained in:
parent
e3b7e5d75a
commit
4335997017
|
@ -48,7 +48,7 @@ public class PercentileRanksAggregatorBuilder extends LeafOnly<ValuesSource.Nume
|
|||
private PercentilesMethod method = PercentilesMethod.TDIGEST;
|
||||
private int numberOfSignificantValueDigits = 3;
|
||||
private double compression = 100.0;
|
||||
private boolean keyed = false;
|
||||
private boolean keyed = true;
|
||||
|
||||
public PercentileRanksAggregatorBuilder(String name) {
|
||||
super(name, InternalTDigestPercentileRanks.TYPE, ValuesSourceType.NUMERIC, ValueType.NUMERIC);
|
||||
|
|
|
@ -48,7 +48,7 @@ public class PercentilesAggregatorBuilder extends LeafOnly<ValuesSource.Numeric,
|
|||
private PercentilesMethod method = PercentilesMethod.TDIGEST;
|
||||
private int numberOfSignificantValueDigits = 3;
|
||||
private double compression = 100.0;
|
||||
private boolean keyed = false;
|
||||
private boolean keyed = true;
|
||||
|
||||
public PercentilesAggregatorBuilder(String name) {
|
||||
super(name, InternalTDigestPercentiles.TYPE, ValuesSourceType.NUMERIC, ValueType.NUMERIC);
|
||||
|
|
Loading…
Reference in New Issue