PHP Class Smile\ElasticsuiteCore\Search\Spellchecker\Request

Spellchecker request implementation
Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Search\Spellchecker\RequestInterface
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( string $index, string $type, string $queryText, float $cutoffFrequency ) Constructor.
getCutoffFrequency ( ) {@inheritDoc}
getIndex ( ) {@inheritDoc}
getQueryText ( ) {@inheritDoc}
getType ( ) {@inheritDoc}

Method Details

__construct() public method

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() public method

{@inheritDoc}
public getCutoffFrequency ( )

getIndex() public method

{@inheritDoc}
public getIndex ( )

getQueryText() public method

{@inheritDoc}
public getQueryText ( )

getType() public method

{@inheritDoc}
public getType ( )