Skip to content

Commit

Permalink
Fix leftover mentions of method parameter in Percentile Aggs (elastic…
Browse files Browse the repository at this point in the history
…#51272)

The method parameter is not used in the percentile aggs, instead
the method is determined by the presence of `hdr` or `tdigest`
objects.

Relates to elastic#8324
  • Loading branch information
imotov committed Jan 22, 2020
1 parent a62d9ec commit 23be11c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ number of significant digits). This means that if data is recorded with values f
microseconds) in a histogram set to 3 significant digits, it will maintain a value resolution of 1 microsecond for values up to
1 millisecond and 3.6 seconds (or better) for the maximum tracked value (1 hour).

The HDR Histogram can be used by specifying the `method` parameter in the request:
The HDR Histogram can be used by specifying the `hdr` object in the request:

[source,console]
--------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public class PercentilesAggregationBuilder extends LeafOnly<ValuesSource, Percen
private static final double[] DEFAULT_PERCENTS = new double[] { 1, 5, 25, 50, 75, 95, 99 };
public static final ParseField PERCENTS_FIELD = new ParseField("percents");
public static final ParseField KEYED_FIELD = new ParseField("keyed");
public static final ParseField METHOD_FIELD = new ParseField("method");
public static final ParseField COMPRESSION_FIELD = new ParseField("compression");
public static final ParseField NUMBER_SIGNIFICANT_DIGITS_FIELD = new ParseField("number_of_significant_value_digits");

Expand Down

0 comments on commit 23be11c

Please sign in to comment.