PHP 클래스 Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig

저자: Romain Ruaud ([email protected])
상속: implements Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfigurationInterface
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
__construct ( string $minimumShouldMatch, float $tieBreaker, integer | null $phraseMatchBoost, float $cutOffFrequency, Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface $fuzziness = null, Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface $phonetic = null ) RelevanceConfiguration constructor.
getCutOffFrequency ( ) : float
getFuzzinessConfiguration ( ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface | null Retrieve FuzzinessConfiguration
getMinimumShouldMatch ( ) {@inheritDoc}
getPhoneticConfiguration ( ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface | null Retrieve Phonetic Configuration
getPhraseMatchBoost ( ) : integer | null
getTieBreaker ( ) {@inheritDoc}
isFuzzinessEnabled ( ) : boolean Check if fuzziness is enabled
isPhoneticSearchEnabled ( ) : boolean Check if phonetic search is enabled

메소드 상세

__construct() 공개 메소드

RelevanceConfiguration constructor.
public __construct ( string $minimumShouldMatch, float $tieBreaker, integer | null $phraseMatchBoost, float $cutOffFrequency, Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface $fuzziness = null, Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface $phonetic = null )
$minimumShouldMatch string Minimum should match clause of the text query.
$tieBreaker float Tie breaker for multimatch queries.
$phraseMatchBoost integer | null The Phrase match boost value, or null if not enabled
$cutOffFrequency float The cutoff Frequency value
$fuzziness Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface The fuzziness Configuration, or null
$phonetic Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface The phonetic Configuration, or null

getCutOffFrequency() 공개 메소드

public getCutOffFrequency ( ) : float
리턴 float

getFuzzinessConfiguration() 공개 메소드

Retrieve FuzzinessConfiguration
public getFuzzinessConfiguration ( ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface | null
리턴 Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\FuzzinessConfigurationInterface | null

getMinimumShouldMatch() 공개 메소드

{@inheritDoc}

getPhoneticConfiguration() 공개 메소드

Retrieve Phonetic Configuration
public getPhoneticConfiguration ( ) : Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface | null
리턴 Smile\ElasticsuiteCore\Api\Search\Request\Container\RelevanceConfiguration\PhoneticConfigurationInterface | null

getPhraseMatchBoost() 공개 메소드

public getPhraseMatchBoost ( ) : integer | null
리턴 integer | null

getTieBreaker() 공개 메소드

{@inheritDoc}
public getTieBreaker ( )

isFuzzinessEnabled() 공개 메소드

Check if fuzziness is enabled
public isFuzzinessEnabled ( ) : boolean
리턴 boolean

isPhoneticSearchEnabled() 공개 메소드

Check if phonetic search is enabled