Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Action\FullFactory::create PHP Method

create() public method

Create an indexer using the right class depending of the configuration.
public create ( array $data = [] ) : mixed
$data array Data passed to the indexer while it is instantiated.
return mixed
    public function create(array $data = [])
    {
        $engine = $this->scopeConfig->getValue($this->configPath, ScopeInterface::SCOPE_STORE);
        $fullActionClass = $this->fullActionPool['default'];
        if (isset($this->fullActionPool[$engine])) {
            $fullActionClass = $this->fullActionPool[$engine];
        }
        return $this->objectManager->create($fullActionClass, ['data' => $data]);
    }