From 20454f4955ce3a9b88630e0966bf56cf19e02120 Mon Sep 17 00:00:00 2001 From: ben5556 <39107453+ben5556@users.noreply.github.com> Date: Tue, 18 Sep 2018 09:30:36 +1200 Subject: [PATCH] Corrected aggregation name to match the example Corrected aggregation name from intraday_return to hat_prices to match the aggregation name provided in the example --- docs/reference/aggregations/metrics/sum-aggregation.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/aggregations/metrics/sum-aggregation.asciidoc b/docs/reference/aggregations/metrics/sum-aggregation.asciidoc index 55c1c3f80fac7..8825f07952155 100644 --- a/docs/reference/aggregations/metrics/sum-aggregation.asciidoc +++ b/docs/reference/aggregations/metrics/sum-aggregation.asciidoc @@ -40,7 +40,7 @@ Resulting in: -------------------------------------------------- // TESTRESPONSE[s/\.\.\./"took": $body.took,"timed_out": false,"_shards": $body._shards,"hits": $body.hits,/] -The name of the aggregation (`intraday_return` above) also serves as the key by which the aggregation result can be retrieved from the returned response. +The name of the aggregation (`hat_prices` above) also serves as the key by which the aggregation result can be retrieved from the returned response. ==== Script