elasticsearch\Query addAggregation()

addAggregation() public method

public $this addAggregation ( $name, $type, $options )
$name string

The name of the aggregation

$type string

The aggregation type. e.g. terms, range, histogram...

$options string|array

The configuration options for this aggregation. Can be an array or a json string.

return $this

The query object itself

doc_Yii
2016-10-30 17:02:02
Comments
Leave a Comment

Please login to continue.