Метод |
Описание |
|
combineSynonyms ( string $queryText, array $synonymByPositions, integer $substitutions, integer $offset ) : array |
Combine analysis result to provides all possible synonyms substitution comination. |
|
computeQueryRewrites ( Smile\ElasticsuiteCore\Api\Search\Request\ContainerConfigurationInterface $containerConfig, string $queryText ) : array |
Compute weigthed rewrites for the query. |
|
getCacheKey ( Smile\ElasticsuiteCore\Api\Search\Request\ContainerConfigurationInterface $containerConfig, string $queryText ) : string |
Returns the cache key of the query. |
|
getCacheTags ( Smile\ElasticsuiteCore\Api\Search\Request\ContainerConfigurationInterface $containerConfig ) : string[] |
Returns cache tags associated to the request. |
|
getConfig ( Smile\ElasticsuiteCore\Api\Search\Request\ContainerConfigurationInterface $containerConfig ) : ThesaurusConfig |
Load the thesaurus config for the current container. |
|
getIndexAlias ( integer $storeId ) : string |
Returns the index alias used by store id. |
|
getSynonymRewrites ( integer $storeId, string $queryText, string $type ) : array |
Generates all possible synonym rewrites for a store and text query. |
|
getWeightedRewrites ( array $queryRewrites, integer $divider, integer $baseWeight = 1 ) : array |
Convert number of substitution into search queries boost. |
|