PHP Class Smile\ElasticsuiteCore\Search\Request\Query\Match

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Search\Request\QueryInterface
Show file Open project: smile-sa/elasticsuite Class Usage Examples

Public Methods

Method Description
__construct ( string $queryText, string $field, string $minimumShouldMatch = self::DEFAULT_MINIMUM_SHOULD_MATCH, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
getBoost ( ) {@inheritDoc}
getField ( ) : string Query field.
getMinimumShouldMatch ( ) : string Minimum should match for the match query.
getName ( ) {@inheritDoc}
getQueryText ( ) : string Query match text.
getType ( ) {@inheritDoc}

Method Details

__construct() public method

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

getBoost() public method

{@inheritDoc}
public getBoost ( )

getField() public method

Query field.
public getField ( ) : string
return string

getMinimumShouldMatch() public method

Minimum should match for the match query.
public getMinimumShouldMatch ( ) : string
return string

getName() public method

{@inheritDoc}
public getName ( )

getQueryText() public method

Query match text.
public getQueryText ( ) : string
return string

getType() public method

{@inheritDoc}
public getType ( )