public function perform()
    {
        $this->debugLog('Ensuring indexes for tenant=' . $this->args[self::STORENAME_KEY]. ', reindex=' . $this->args[self::REINDEX_KEY] . ', background=' . $this->args[self::BACKGROUND_KEY]);

        $this->getIndexUtils()->ensureIndexes(
            $this->args[self::REINDEX_KEY],
            $this->args[self::STORENAME_KEY],
            $this->args[self::BACKGROUND_KEY]
        );
    }
public function perform()
    {
        $this->debugLog('Ensuring indexes for tenant=' . $this->args[self::STORENAME_KEY]. ', reindex=' . $this->args[self::REINDEX_KEY] . ', background=' . $this->args[self::BACKGROUND_KEY]);

        $this->getIndexUtils()->ensureIndexes(
            $this->args[self::REINDEX_KEY],
            $this->args[self::STORENAME_KEY],
            $this->args[self::BACKGROUND_KEY]
        );
    }
public function perform ( ) { $ this -> debugLog ( 'Ensuring indexes for tenant=' . $ this -> args [ self :: STORENAME_KEY ] . ', reindex=' . $ this -> args [ self :: REINDEX_KEY ] . ', background=' . $ this -> args [ self :: BACKGROUND_KEY ] ) ; $ this -> getIndexUtils ( ) -> ensureIndexes ( $ this -> args [ self :: REINDEX_KEY ] , $ this -> args [ self :: STORENAME_KEY ] , $ this -> args [ self :: BACKGROUND_KEY ] ) ; }
Runs the EnsureIndexes Job
@throws \Exception
Runs the EnsureIndexes Job