public function runIndexing()
    {
        $iterator = $this->getResourceIterator();
        $indexIterator = new IndexIterator($iterator);
        $indexIterator->setServiceLocator($this->getServiceLocator());
        $searchService = $this->getServiceLocator()->get(Search::SERVICE_ID);
        $result = $searchService->index($indexIterator);
        $this->logDebug($result . ' resources have been indexed by ' . static::class);
        return $result;
    }
public function runIndexing()
    {
        $iterator = $this->getResourceIterator();
        $indexIterator = new IndexIterator($iterator);
        $indexIterator->setServiceLocator($this->getServiceLocator());
        $searchService = $this->getServiceLocator()->get(Search::SERVICE_ID);
        $result = $searchService->index($indexIterator);
        $this->logDebug($result . ' resources have been indexed by ' . static::class);
        return $result;
    }
public function runIndexing ( ) { $ iterator = $ this -> getResourceIterator ( ) ; $ indexIterator = new IndexIterator ( $ iterator ) ; $ indexIterator -> setServiceLocator ( $ this -> getServiceLocator ( ) ) ; $ searchService = $ this -> getServiceLocator ( ) -> get ( Search :: SERVICE_ID ) ; $ result = $ searchService -> index ( $ indexIterator ) ; $ this -> logDebug ( $ result . ' resources have been indexed by ' . static :: class ) ; return $ result ; }
Run a full reindexing
@return boolean
@throws
Run a full reindexing