From eada977fa335d9e8592231cbb2d5674d19922232 Mon Sep 17 00:00:00 2001 From: Liam Thompson Date: Fri, 29 Nov 2024 18:34:17 +0100 Subject: [PATCH] Here we go again with the snippet testing --- docs/reference/quickstart/aggs-tutorial.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/quickstart/aggs-tutorial.asciidoc b/docs/reference/quickstart/aggs-tutorial.asciidoc index 90c7b6648051a..b69d05e66aa8a 100644 --- a/docs/reference/quickstart/aggs-tutorial.asciidoc +++ b/docs/reference/quickstart/aggs-tutorial.asciidoc @@ -252,6 +252,7 @@ POST kibana_sample_data_ecommerce/_bulk { "index": {} } { "category": "Women's Shoes", "order_date": "2024-11-15T00:00:00.000Z", "customer_id": "3", "taxful_total_price": 120.0, "total_quantity": 1, "products": [{"category": "Women's Shoes", "price": 120.0, "quantity": 1}] } ---- +// TEST //// @@ -282,7 +283,7 @@ GET kibana_sample_data_ecommerce/_search } } ---- -// TEST +// TEST[continued] <1> Set `size` to 0 to avoid returning matched documents in the response and return only the aggregation results <2> A meaningful name that describes what this metric represents <3> Configures an `avg` aggregation, which calculates a simple arithmetic mean