public function execute($ids)
    {
        $storeIds = array_keys($this->storeManager->getStores());

        foreach ($storeIds as $storeId) {
            $dimension = $this->dimensionFactory->create(['name' => 'scope', 'value' => $storeId]);
            $this->indexerHandler->deleteIndex([$dimension], new \ArrayObject($ids));
            $this->indexerHandler->saveIndex([$dimension], $this->fullAction->rebuildStoreIndex($storeId, $ids));
        }
    }
public function execute($ids)
    {
        $storeIds = array_keys($this->storeManager->getStores());

        foreach ($storeIds as $storeId) {
            $dimension = $this->dimensionFactory->create(['name' => 'scope', 'value' => $storeId]);
            $this->indexerHandler->deleteIndex([$dimension], new \ArrayObject($ids));
            $this->indexerHandler->saveIndex([$dimension], $this->fullAction->rebuildStoreIndex($storeId, $ids));
        }
    }
public function execute ( $ ids ) { $ storeIds = array_keys ( $ this -> storeManager -> getStores ( ) ) ; foreach ( $ storeIds as $ storeId ) { $ dimension = $ this -> dimensionFactory -> create ( [ 'name' => 'scope' , 'value' => $ storeId ] ) ; $ this -> indexerHandler -> deleteIndex ( [ $ dimension ] , new \ ArrayObject ( $ ids ) ) ; $ this -> indexerHandler -> saveIndex ( [ $ dimension ] , $ this -> fullAction -> rebuildStoreIndex ( $ storeId , $ ids ) ) ; } }
Execute materialization on ids entities

@param int[] $ids The ids

@return void
Execute materialization on ids entities