PHP Class Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Adapter

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Magento\Framework\Search\AdapterInterface
Afficher le fichier Open project: smile-sa/elasticsuite

Méthodes publiques

Méthode Description
__construct ( Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\QueryResponseFactory $responseFactory, Mapper $requestMapper, Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface $clientFactory, Psr\Log\LoggerInterface $logger ) Constructor.
query ( Magento\Framework\Search\RequestInterface $request )

Private Methods

Méthode Description
doSearch ( Magento\Framework\Search\RequestInterface $request ) : array Execute the search request with ES.

Method Details

__construct() public méthode

Constructor.
public __construct ( Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\QueryResponseFactory $responseFactory, Mapper $requestMapper, Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface $clientFactory, Psr\Log\LoggerInterface $logger )
$responseFactory Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Response\QueryResponseFactory Search response factory.
$requestMapper Smile\ElasticsuiteCore\Search\Adapter\Elasticsuite\Request\Mapper Search request mapper.
$clientFactory Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface ES Client Factory.
$logger Psr\Log\LoggerInterface Logger.

query() public méthode

public query ( Magento\Framework\Search\RequestInterface $request )
$request Magento\Framework\Search\RequestInterface