stats() public method
Adds a 'stats' part to the query.
See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search.html#stats-groups.
public $this stats ( $groups ) | ||
---|---|---|
$groups | array |
An array of groups to maintain a statistics aggregation for. |
return | $this |
The query object itself |
Please login to continue.