PHP Interface Smile\ElasticsuiteCore\Api\Search\Spellchecker\RequestInterface

Author: Aurelien FOUCRET ([email protected])
Show file Open project: smile-sa/elasticsuite Interface Usage Examples

Public Methods

Method Description
getCutoffFrequency ( ) : float Spellcheck cutoff frequency (used to detect stopwords).
getIndex ( ) : string Spellcheck request index name.
getQueryText ( ) : string Spellcheck fulltext query.
getType ( ) : string Spellcheck request document type.

Method Details

getCutoffFrequency() public method

Spellcheck cutoff frequency (used to detect stopwords).
public getCutoffFrequency ( ) : float
return float

getIndex() public method

Spellcheck request index name.
public getIndex ( ) : string
return string

getQueryText() public method

Spellcheck fulltext query.
public getQueryText ( ) : string
return string

getType() public method

Spellcheck request document type.
public getType ( ) : string
return string