diff --git a/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Command/NodeIndexQueueCommandController.php b/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Command/NodeIndexQueueCommandController.php index a60778b..5befd09 100644 --- a/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Command/NodeIndexQueueCommandController.php +++ b/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Command/NodeIndexQueueCommandController.php @@ -87,9 +87,14 @@ public function buildCommand($workspace = null) if ($workspace === null) { foreach ($this->workspaceRepository->findAll() as $workspace) { - $this->indexWorkspace($workspace->getName(), $indexPostfix); + $workspace = $workspace->getName(); + $this->outputLine(); + $this->outputLine(sprintf('++ Indexing %s workspace', $workspace)); + $this->indexWorkspace($workspace, $indexPostfix); } } else { + $this->outputLine(); + $this->outputLine(sprintf('++ Indexing only %s workspace', $workspace)); $this->indexWorkspace($workspace, $indexPostfix); } $updateAliasJob = new UpdateAliasJob($indexPostfix); @@ -130,6 +135,7 @@ protected function indexWorkspace($workspaceName, $indexPostfix) $offset += $batchSize; $this->persistenceManager->clearState(); } + $this->outputLine(); } /**