From c10a1698fa3b1c8e3f5f39db9f5b7fec85d49fa8 Mon Sep 17 00:00:00 2001 From: Mantas Simkus <mantas.simkus@ongr.io> Date: Thu, 6 Aug 2015 12:08:27 +0300 Subject: [PATCH] edited GlobalAggregations docs --- docs/Aggregation/Global.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Aggregation/Global.md b/docs/Aggregation/Global.md index fcb7821..d950f92 100644 --- a/docs/Aggregation/Global.md +++ b/docs/Aggregation/Global.md @@ -11,10 +11,10 @@ you’re searching on, but is **not influenced** by the search query itself. ```JSON { "aggregations": { - "agg_all_products": { + "all_products": { "global": {}, "aggregations": { - "agg_avg_price": { + "avg_price": { "avg": { "field": "price" } -- GitLab