public __construct ( string $name, string $field, array $metrics, string $nestedPath = null, Smile\ElasticsuiteCore\Search\Request\QueryInterface $filter = null, Smile\ElasticsuiteCore\Search\Request\QueryInterface $nestedFilter = null, integer $interval = 1, integer $minDocCount ) | ||
$name | string | Bucket name. |
$field | string | Bucket field. |
$metrics | array | Bucket metrics. |
$nestedPath | string | Nested path for nested bucket. |
$filter | Smile\ElasticsuiteCore\Search\Request\QueryInterface | Bucket filter. |
$nestedFilter | Smile\ElasticsuiteCore\Search\Request\QueryInterface | Nested filter for the bucket. |
$interval | integer | Histogram interval. |
$minDocCount | integer | Histogram min doc count. |