加载中

Elasticsearch 中的汇总聚合限制

8.11.0 版本中已弃用。

汇总功能将在未来版本中移除。请迁移降采样

当您使用 Elasticsearch 中的索引数据时,文档字段的汇总或聚合方式存在一些限制。本页面重点介绍了这些主要限制,以便您了解它们。

汇总功能允许使用以下聚合对字段进行分组

  • 日期直方图聚合 (Date Histogram aggregation)
  • 直方图聚合 (Histogram aggregation)
  • 词项聚合 (Terms aggregation)

并且对于数值字段,允许指定以下指标

  • 最小值聚合 (Min aggregation)
  • 最大值聚合 (Max aggregation)
  • 求和聚合 (Sum aggregation)
  • 平均值聚合 (Average aggregation)
  • 值计数聚合 (Value Count aggregation)
© . This website operates independently and is not affiliated with or endorsed by Elasticsearch B.V. All brand names, logos, and trademarks are the property of their respective owners.