# 3.6.4.矩阵聚合(Matrix Aggregations)

> 这个功能是实验性的，可能会在将来的版本完全更改或者移除。Elastic将采取最大的努力来解决任何问题，但实验性的功能不受SLA官方功能的支持。

该类聚合操作多个字段并根据从请求的文档字段中提取的值生成矩阵结果。与度量和桶聚合不同，此聚合系列不支持脚本。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xiaoxiami.gitbook.io/elasticsearch/ji-chu/36aggregationsju-he-fen-679029/364ju-zhen-ju-540828-matrix-aggregations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
