Hello there,
currently we are in the process of switching to the new Java API Client since Spring Boot 3 isn't supporting the old client anymore (yes you can just add the old client but we want to do it properly )
Since there aren't that many migration guides and examples with alternatives to specific queries and aggregations:
Whats the alternative to "FiltersAggregator.KeyedFilter(name, query)"?
We are setting a AggregationsBuilders.filters() with multiple filter (old client):
AggregationsBuilders.filters("agg_name",
new FiltersAggregator.KeyedFilter("name", QueryBuilders.boolQuery().must(query)),
...
);