프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$aggregations | Magento\Framework\Api\Search\AggregationInterface | Aggregation Collection | |
$count | integer | ||
$documents | Document Collection |
메소드 | 설명 | |
---|---|---|
__construct ( |
Constructor | |
count ( ) | {@inheritDoc} | |
getAggregations ( ) | {@inheritDoc} | |
getIterator ( ) | {@inheritDoc} |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Magento\Framework\Api\Search\AggregationInterface |