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

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

Méthodes publiques

Méthode Description
__construct ( string $value, string $field, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE ) The term query produce an Elasticsearch term query.
getBoost ( ) {@inheritDoc}
getField ( ) : string Search field.
getName ( ) {@inheritDoc}
getType ( ) {@inheritDoc}
getValue ( ) : string Search value.

Method Details

__construct() public méthode

The term query produce an Elasticsearch term query.
public __construct ( string $value, string $field, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
$value string Search value.
$field string Search field.
$name string Name of the query.
$boost integer Query boost.

getBoost() public méthode

{@inheritDoc}
public getBoost ( )

getField() public méthode

Search field.
public getField ( ) : string
Résultat string

getName() public méthode

{@inheritDoc}
public getName ( )

getType() public méthode

{@inheritDoc}
public getType ( )

getValue() public méthode

Search value.
public getValue ( ) : string
Résultat string