Faceting on Elasticsearch 7.2.0

Hi to everyone,

I need to populate my filters graphic components(EUI) with the Java api.

The desired behaviour is that when i make a search on elastic, my filters would be populated according to the search results.

How can i accomplish this?

Thanks in advice.