PHP Класс Smile\ElasticsuiteCore\Search\Spellchecker\Request

Spellchecker request implementation
Автор: Aurelien FOUCRET ([email protected])
Наследование: implements Smile\ElasticsuiteCore\Api\Search\Spellchecker\RequestInterface
Показать файл Открыть проект

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

Метод Описание
__construct ( string $index, string $type, string $queryText, float $cutoffFrequency ) Constructor.
getCutoffFrequency ( ) {@inheritDoc}
getIndex ( ) {@inheritDoc}
getQueryText ( ) {@inheritDoc}
getType ( ) {@inheritDoc}

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

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

Constructor.
public __construct ( string $index, string $type, string $queryText, float $cutoffFrequency )
$index string Spellcheck request index name.
$type string Spellcheck request document type.
$queryText string Spellcheck fulltext query.
$cutoffFrequency float Spellcheck cutoff frequency (used to detect stopwords).

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

{@inheritDoc}
public getCutoffFrequency ( )

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

{@inheritDoc}
public getIndex ( )

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

{@inheritDoc}
public getQueryText ( )

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

{@inheritDoc}
public getType ( )