Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory::loadConfiguration PHP Méthode

loadConfiguration() protected méthode

Load the relevance configuration by scope code.
protected loadConfiguration ( string $scopeCode ) : array
$scopeCode string Container scope code.
Résultat array
    protected function loadConfiguration($scopeCode)
    {
        $configurationParams = ['minimumShouldMatch' => $this->getMinimumShouldMatch($scopeCode), 'tieBreaker' => $this->getTieBreaker($scopeCode), 'phraseMatchBoost' => $this->getPhraseMatchBoostConfiguration($scopeCode), 'cutOffFrequency' => $this->getCutoffFrequencyConfiguration($scopeCode), 'fuzziness' => $this->getFuzzinessConfiguration($scopeCode), 'phonetic' => $this->getPhoneticConfiguration($scopeCode)];
        return $configurationParams;
    }