Open dvas0004 opened 5 years ago
Serve two main purposes:
Allows for pagination of large results No need to define the "size" used in typical aggs, the composite aggregation will return an "after_key" that is used for pagination
Allow multiple aggregations to be run in one (hence the name "composite")
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-composite-aggregation.html https://www.elastic.co/blog/composite-aggregations-elasticsearch-pizza-delivery-metrics
Serve two main purposes:
Allows for pagination of large results No need to define the "size" used in typical aggs, the composite aggregation will return an "after_key" that is used for pagination
Allow multiple aggregations to be run in one (hence the name "composite")