Why Composite Aggregation In Java make getBuckets() not public while another agg type is public

Why Composite Aggregation In Java make InternalBucket not public ?
So, I can't get buckets for my purporse ??

The class InternalBucket inside InternalComposite class (Result Aggration of the CompositeAggragation query using ElasticSearchTemplate)

And, have any way to retrieve the buckets of results ?
Thanks all.

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