Elasticsearch-Metrics Aggregations(度量聚合/指标聚合)前言聚合的基本结构准备测试数据avg,max,min,sum,value_count,stats,extended_statscardinalitypercentilespercentile_rankstop_hits
前言本文基于elasticsearch7.3.0版本聚合的基本结构"aggregations" : { "<aggregation_name>" : { "<aggregation_type>" : { <aggregation_body> } [,"meta" :