Build ES aggregations from search request buckets.
public buildAggregations ( array $buckets = [] ) : array | ||
$buckets | array | Bucket to be converted into ES aggregations |
return | array |
public buildAggregations ( array $buckets = [] ) : array | ||
$buckets | array | Bucket to be converted into ES aggregations |
return | array |