public __construct ( ItemFactory $itemFactory, Magento\Search\Model\QueryFactory $queryFactory, DataProvider $termDataProvider, Collection $productCollection, 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. |
$productCollection |
Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Fulltext\Collection |
Product collection. |
$configurationHelper |
Smile\ElasticsuiteCatalog\Helper\Autocomplete |
Autocomplete configuration helper. |
$type |
string |
Autocomplete provider type. |