public __construct ( string $name, string $indexName, string $type, Magento\Framework\Search\Request\QueryInterface $query, Magento\Framework\Search\Request\QueryInterface $filter = null, array $sortOrders = null, integer | null $from = null, integer | null $size = null, array $dimensions = [], array $buckets = [], string $spellingType = null ) | ||
$name | string | Search request name. |
$indexName | string | Index name. |
$type | string | Searched document type. |
$query | Magento\Framework\Search\Request\QueryInterface | Search query. |
$filter | Magento\Framework\Search\Request\QueryInterface | Search filter. |
$sortOrders | array | Sort orders specification. |
$from | integer | null | Pagination from clause. |
$size | integer | null | Pagination page size clause. |
$dimensions | array | Searched store. |
$buckets | array | Search request aggregations definition. |
$spellingType | string | For fulltext query : the type of spellchecked applied. |