public __construct ( ItemFactory $itemFactory, Magento\Search\Model\QueryFactory $queryFactory, DataProvider $termDataProvider, Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\CollectionFactory $categoryCollectionFactory, Autocomplete $configurationHelper, string $type = self::AUTOCOMPLETE_TYPE ) |
$itemFactory |
ItemFactory |
Suggest item factory. |
$queryFactory |
Magento\Search\Model\QueryFactory |
Search query factory. |
$termDataProvider |
Smile\ElasticsuiteCore\Model\Autocomplete\Terms\DataProvider |
Search terms suggester. |
$categoryCollectionFactory |
Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\CollectionFactory |
Category collection factory. |
$configurationHelper |
Smile\ElasticsuiteCatalog\Helper\Autocomplete |
Autocomplete configuration helper. |
$type |
string |
Autocomplete provider type. |