Closed Seddryck closed 6 years ago
NBi should be able to execute and understands the result from an aggregation
GET /bank/_search { "size": 0, "aggs": { "group_by_state": { "terms": { "field": "state.keyword", "size" : 3, "order": { "average_balance": "desc" } }, "aggs": { "average_balance": { "avg": { "field": "balance" } } } } } }
NBi should be able to execute and understands the result from an aggregation