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

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 $path, Magento\Framework\Search\Request\QueryInterface $query = null, string $scoreMode = self::SCORE_MODE_NONE, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
getBoost ( ) {@inheritDoc}
getName ( ) {@inheritDoc}
getPath ( ) : string Nested query path.
getQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface Nested query.
getScoreMode ( ) : string Nested query score mode.
getType ( ) {@inheritDoc}

Method Details

__construct() public method

public __construct ( string $path, Magento\Framework\Search\Request\QueryInterface $query = null, string $scoreMode = self::SCORE_MODE_NONE, string $name = null, integer $boost = QueryInterface::DEFAULT_BOOST_VALUE )
$path string Nested path.
$query Magento\Framework\Search\Request\QueryInterface Nested query.
$scoreMode string Score mode of the nested query..
$name string Query name.
$boost integer Query boost.

getBoost() public method

{@inheritDoc}
public getBoost ( )

getName() public method

{@inheritDoc}
public getName ( )

getPath() public method

Nested query path.
public getPath ( ) : string
return string

getQuery() public method

Nested query.
public getQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface
return Smile\ElasticsuiteCore\Search\Request\QueryInterface

getScoreMode() public method

Nested query score mode.
public getScoreMode ( ) : string
return string

getType() public method

{@inheritDoc}
public getType ( )