PHP Класс Smile\ElasticsuiteCore\Search\Request\Query\Common

Автор: Aurelien FOUCRET ([email protected])
Наследование: extends Match
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $queryText, string $field, float $cutoffFrequency = self::DEFAULT_CUTOFF_FREQUENCY, string $minimumShouldMatch = self::DEFAULT_MINIMUM_SHOULD_MATCH, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE ) Constructor.
getCutoffFrequency ( ) : float Query cutoff frequency.
getType ( ) {@inheritDoc}

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $queryText, string $field, float $cutoffFrequency = self::DEFAULT_CUTOFF_FREQUENCY, string $minimumShouldMatch = self::DEFAULT_MINIMUM_SHOULD_MATCH, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
$queryText string Matched text.
$field string Query field.
$cutoffFrequency float Cutoff frequency.
$minimumShouldMatch string Minimum should match for the match query.
$name string Query name.
$boost integer Query boost.

getCutoffFrequency() публичный Метод

Query cutoff frequency.
public getCutoffFrequency ( ) : float
Результат float

getType() публичный Метод

{@inheritDoc}
public getType ( )