public createIndex ( string $indexIdentifier, integer | string | Magento\Store\Api\Data\StoreInterface $store ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface | ||
$indexIdentifier | string | Index identifier. |
$store | integer | string | Magento\Store\Api\Data\StoreInterface | Store (id, identifier or object). |
Результат | Smile\ElasticsuiteCore\Api\Index\IndexInterface |
public function createIndex($indexIdentifier, $store);
/** * This override does not delete data into the old index as expected but only create a new index. * It allows to keep old index in place during full reindex. * * {@inheritDoc} */ public function cleanIndex($dimensions) { foreach ($dimensions as $dimension) { $this->indexOperation->createIndex($this->indexName, $dimension->getValue()); } return $this; }