Метод | Описание | |
---|---|---|
__construct ( Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface $clientFactory, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager, |
Constructor. | |
reindex ( integer $storeId, string[] $synonyms, string[] $expansions ) : void | Create the synonyms index for a store id. |
Метод | Описание | |
---|---|---|
addAnalyzerSettings ( array $settings, string $type, string[] $values ) : array | Append an analyzer for a thesaurus to existing settings. | |
getIndexSettings ( string[] $synonyms, string[] $expansions ) : array | Returns index settings. | |
prepareSynonymFilterData ( string[] $rows ) : string[] | Prepare the thesaurus data to be saved. |
public __construct ( Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface $clientFactory, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager, |
||
$clientFactory | Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface | ES Client factory. |
$indexManager | Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface | ES index management tool |
$indexSettingsHelper | Index settings helper. | |
$cacheHelper | ES caching helper. |