PHP Class Smile\ElasticsuiteCore\Search\Request

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

Public Methods

Method Description
__construct ( string $name, string $indexName, string $type, Magento\Framework\Search\Request\QueryInterface $query, Magento\Framework\Search\Request\QueryInterface $filter = null, array $sortOrders = null, integer | null $from = null, integer | null $size = null, array $dimensions = [], array $buckets = [], string $spellingType = null ) Constructor.
getFilter ( ) {@inheritDoc}
getSortOrders ( ) {@inheritDoc}
getType ( ) {@inheritDoc}
isSpellchecked ( ) {@inheritDoc}

Method Details

__construct() public method

Constructor.
public __construct ( string $name, string $indexName, string $type, Magento\Framework\Search\Request\QueryInterface $query, Magento\Framework\Search\Request\QueryInterface $filter = null, array $sortOrders = null, integer | null $from = null, integer | null $size = null, array $dimensions = [], array $buckets = [], string $spellingType = null )
$name string Search request name.
$indexName string Index name.
$type string Searched document type.
$query Magento\Framework\Search\Request\QueryInterface Search query.
$filter Magento\Framework\Search\Request\QueryInterface Search filter.
$sortOrders array Sort orders specification.
$from integer | null Pagination from clause.
$size integer | null Pagination page size clause.
$dimensions array Searched store.
$buckets array Search request aggregations definition.
$spellingType string For fulltext query : the type of spellchecked applied.

getFilter() public method

{@inheritDoc}
public getFilter ( )

getSortOrders() public method

{@inheritDoc}
public getSortOrders ( )

getType() public method

{@inheritDoc}
public getType ( )

isSpellchecked() public method

{@inheritDoc}
public isSpellchecked ( )