I have a temporary index with documents that I need to moderate. I want to group these documents by the words they contain.

For example, I have these documents:

1 - "aaa bbb ccc ddd eee fff"

2 - "bbb mmm aaa fff xxx"

3 - "hhh aaa fff"

So, I want to get the most popular words, ideally with counts: "aaa" - 3, "fff" - 3, "bbb" - 2, etc.

Is this possible with elasticsearch?