getRootClass(); $resultIndexIterator = new ResultIndexIterator([$deliveryClass->getUri()], $this->getServiceLocator()); $resultIndexIterator->setServiceLocator($this->getServiceLocator()); $counts = $this->getServiceLocator()->get(Search::SERVICE_ID)->index($resultIndexIterator); return new Report(Report::TYPE_SUCCESS, $counts . ' results are reindexed'); } }