PHP 클래스 Smile\ElasticsuiteCore\Search\Request\Aggregation\AggregationFactory

저자: Aurelien FOUCRET ([email protected])
파일 보기 프로젝트 열기: smile-sa/elasticsuite 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $factories = [] ) Constructor.
create ( string $bucketType, array $bucketParams ) : Smile\ElasticsuiteCore\Search\Request\BucketInterface Create a new bucket from it's type and params.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $factories = [] )
$factories array Aggregation factories by type.

create() 공개 메소드

Create a new bucket from it's type and params.
public create ( string $bucketType, array $bucketParams ) : Smile\ElasticsuiteCore\Search\Request\BucketInterface
$bucketType string Bucket type (must be a valid bucket type defined into the factories array).
$bucketParams array Bucket constructor params.
리턴 Smile\ElasticsuiteCore\Search\Request\BucketInterface