Метод | Описание | |
---|---|---|
__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 |