Метод | Описание | |
---|---|---|
__construct ( Magento\Framework\ObjectManagerInterface $objectManager, string $instanceName = 'Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface' ) | Constructor. | |
create ( integer $storeId, string $containerName ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface | Retrieve relevance configuration for a container. |
Метод | Описание | |
---|---|---|
getConfigValue ( string $path, string $scopeCode ) : mixed | Read value into the config by path and scope. | |
loadConfiguration ( string $scopeCode ) : array | Load the relevance configuration by scope code. |
Метод | Описание | |
---|---|---|
createFuzzinessConfiguration ( array $configurationParams ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface | Create a Fuzziness Configuration Object | |
getCutoffFrequencyConfiguration ( string $scopeCode ) : float | Retrieve cutoff frequency for a container. | |
getFuzzinessConfiguration ( string $scopeCode ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface | null | Retrieve fuzziness configuration object. | |
getMinimumShouldMatch ( string $scopeCode ) : string | Retrieve minimum should match config for a container. | |
getPhoneticConfiguration ( string $scopeCode ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface | null | Retrieve phonetic configuration object | |
getPhraseMatchBoostConfiguration ( string $scopeCode ) : boolean | integer | Retrieve phrase boost configuration for a container. | |
getScopeCode ( integer $storeId, string | null $containerName ) : string | Retrieve current scope code | |
getTieBreaker ( string $scopeCode ) : float | Retrieve tie breaker config for a container. |
public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, string $instanceName = 'Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface' ) | ||
$objectManager | Magento\Framework\ObjectManagerInterface | Object manager. |
$instanceName | string | Config class name. |
public create ( integer $storeId, string $containerName ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface | ||
$storeId | integer | Store id. |
$containerName | string | Container identifier. |
Результат | Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface |
protected loadConfiguration ( string $scopeCode ) : array | ||
$scopeCode | string | Container scope code. |
Результат | array |