I am doing a composite aggregation and from the docs:
This aggregation provides a way to stream all buckets of a specific aggregation similarly to what scroll does for documents.
But I am unsure how I can do the streaming as there are no examples in the docs although the docs state the above.
Should I use the scroll API or should I loop and use the
after parameter and build a new search multiple times?