Smile\ElasticsuiteCore\Index\IndexOperation::__construct PHP Method

__construct() public method

Instanciate the index operation manager.
public __construct ( Magento\Framework\ObjectManagerInterface $objectManager, Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface $clientFactory, Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface $indexSettings, Psr\Log\LoggerInterface $logger )
$objectManager Magento\Framework\ObjectManagerInterface Object manager.
$clientFactory Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface ES client factory.
$indexSettings Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface ES settings.
$logger Psr\Log\LoggerInterface Logger access.
    public function __construct(ObjectManagerInterface $objectManager, ClientFactoryInterface $clientFactory, IndexSettingsInterface $indexSettings, LoggerInterface $logger)
    {
        $this->objectManager = $objectManager;
        $this->client = $clientFactory->createClient();
        $this->indexSettings = $indexSettings;
        $this->indicesConfiguration = $indexSettings->getIndicesConfig();
        $this->logger = $logger;
    }