Property | Type | Description | |
---|---|---|---|
$aggregations | Magento\Framework\Api\Search\AggregationInterface | Aggregation Collection | |
$count | integer | ||
$documents | Document Collection |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
count ( ) | {@inheritDoc} | |
getAggregations ( ) | {@inheritDoc} | |
getIterator ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
prepareAggregations ( array $searchResponse, |
Build buckets from raw search response. | |
prepareDocuments ( array $searchResponse, |
Build document list from the engine raw search response. |
public __construct ( |
||
$documentFactory | Document factory. | |
$aggregationFactory | Aggregation factory. | |
$searchResponse | array | Engine raw response. |
protected AggregationInterface,Magento\Framework\Api\Search $aggregations | ||
return | Magento\Framework\Api\Search\AggregationInterface |