Java Scroll Api with aggregation

Hi All ,

I am using Java scroll API to fetch data from an index . Is it possible to use CompositeAggregationBuilder along with scroll api and get aggregation resultset in batches of 10000 from elastic . If so , please help me how to set the size of searchsourcebuilder and CompositeAggregationBuilder size.

Thanks In Advance,
Vands

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