Word Cloud from elasticsearch API

I want to create a word cloud from a text field. But i couldn't find a direct API for it. Any suggestion will be helpful.

The terms aggregation or the significant terms aggregation will work but both rely on using "fielddata" which will be very heavy on RAM usage for large indexes.
In the elasticsearch 6 alpha there is a new significant text aggregation which is more suited to this purpose.

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