PHP Class Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Request\Aggregation\Builder\QueryGroup

Author: Aurelien FOUCRET ([email protected])
Mostra file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( Builder $queryBuilder ) Constructor.
buildBucket ( Smile\ElasticsuiteCore\Search\Request\BucketInterface $bucket ) : array Build the aggregation.

Method Details

__construct() public method

Constructor.
public __construct ( Builder $queryBuilder )
$queryBuilder Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Request\Query\Builder Search query builder.

buildBucket() public method

Build the aggregation.
public buildBucket ( Smile\ElasticsuiteCore\Search\Request\BucketInterface $bucket ) : array
$bucket Smile\ElasticsuiteCore\Search\Request\BucketInterface Term bucket.
return array