after property
This property can be used to implement the pagination for aggregations
.
We use the composite aggregations of Elasticsearch
to execute the aggregations' query,
the response of composite aggregations includes a key named after_key
which can be used to fetch the next set of aggregations for the same query.
You can read more about the pagination for composite aggregations at here.
Implementation
final Map? after;