메소드 | 설명 | |
---|---|---|
__construct ( Magento\Framework\ObjectManagerInterface $objectManager, |
Constructor. | |
buildAggregations ( array $buckets = [] ) : array | Build ES aggregations from search request buckets. |
메소드 | 설명 | |
---|---|---|
getBuilder ( string $bucketType ) : object | Retrieve the builder used to convert a bucket into ES aggregation. |
public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, |
||
$objectManager | Magento\Framework\ObjectManagerInterface | Object manager instance. |
$queryBuilder | Query builder used to build queries inside sort orders. |
public buildAggregations ( array $buckets = [] ) : array | ||
$buckets | array | Bucket to be converted into ES aggregations |
리턴 | array |