[ES 6.7] Multiple field terms aggregation using scripts

In the 6.7 documentation for Terms aggregation, the section on multi field aggregation says that 6.7 does not support multiple field aggregation, and to use scripts instead: Terms Aggregation | Elasticsearch Guide [6.7] | Elastic

However, in the example for aggregating with scripts, only one field is being used.

Could anyone give an example of how unique combinations of multiple fields can be aggregated using a script?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.