Matrix Aggregationsedit

The aggregations in this family operate on multiple fields and produce a matrix result based on the values extracted from the requested document fields. Unlike metric and bucket aggregations, this aggregation family does not yet support scripting.

See the Elasticsearch documentation on Matrix aggregations for more details.