Aggregation component for elasticsearch-elements