Create Aggregate field with separated by comma

Need Help.

i have data like this:

what steps should i take, to get results like this:
A: 3
B: 3
C: 2
D: 3
E: 4

Thank you!

Welcome!

A terms aggregation on the interest field should work.

thank you @dadoonet
can you give me an example. mapping parameters & query parameters.

The documentation gives some examples. Please read Terms aggregation | Elasticsearch Guide [7.15] | Elastic

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