Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
buildSearchRequest ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | Transform the search request into an ES request. |
Метод | Описание | |
---|---|---|
getAggregations ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | Extract and build aggregations of the search request. | |
getRootFilter ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | Extract and build the root filter of the search request. | |
getRootQuery ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | Extract and build the root query of the search request. | |
getSortOrders ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | Extract and build sort orders of the search request. |
public __construct ( |
||
$queryBuilder | Adapter query builder. | |
$sortOrderBuilder | Adapter sort orders builder. | |
$aggregationBuilder | Adapter aggregations builder. |
public buildSearchRequest ( Smile\ElasticsuiteCore\Search\RequestInterface $request ) : array | ||
$request | Smile\ElasticsuiteCore\Search\RequestInterface | Search Request. |
Результат | array |