From 58aece87f55af644623f393c12e49f75866129ad Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 1 Dec 2014 23:53:37 +0100 Subject: es5: stats vs. avg --- src/es5/es-query.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/es5') diff --git a/src/es5/es-query.json b/src/es5/es-query.json index bc45515..ccc6db3 100644 --- a/src/es5/es-query.json +++ b/src/es5/es-query.json @@ -21,8 +21,8 @@ "size": 0 }, "aggregations": { - "avg_clients": { - "avg": { "field": "data.client-count" } + "clients": { + "stats": { "field": "data.client-count" } } } } -- cgit v1.2.3