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

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

Public Methods

Method Description
__construct ( string $field, array $bounds = [], string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE ) Constructor.
getBoost ( ) {@inheritDoc}
getBounds ( ) : array Range filter bounds.
getField ( ) : string Query field.
getName ( ) {@inheritDoc}
getType ( ) {@inheritDoc}

Method Details

__construct() public method

Constructor.
public __construct ( string $field, array $bounds = [], string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
$field string Query field.
$bounds array Range filter bounds (authorized entries : gt, lt, lte, gte).
$name string Query name.
$boost integer Query boost.

getBoost() public method

{@inheritDoc}
public getBoost ( )

getBounds() public method

Range filter bounds.
public getBounds ( ) : array
return array

getField() public method

Query field.
public getField ( ) : string
return string

getName() public method

{@inheritDoc}
public getName ( )

getType() public method

{@inheritDoc}
public getType ( )