diff --git a/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Indexer/NodeIndexer.php b/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Indexer/NodeIndexer.php index dc7d270..85e688e 100644 --- a/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Indexer/NodeIndexer.php +++ b/Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Indexer/NodeIndexer.php @@ -6,6 +6,7 @@ use Flowpack\ElasticSearch\ContentRepositoryQueueIndexer\IndexingJob; use Flowpack\JobQueue\Common\Job\JobManager; use TYPO3\Flow\Annotations as Flow; +use TYPO3\Flow\Persistence\PersistenceManagerInterface; use TYPO3\TYPO3CR\Domain\Model\NodeInterface; /** @@ -19,6 +20,12 @@ class NodeIndexer extends ContentRepositoryAdaptor\Indexer\NodeIndexer */ protected $jobManager; + /** + * @var PersistenceManagerInterface + * @Flow\Inject + */ + protected $persistenceManager; + /** * @var bool * @Flow\InjectConfiguration(path="enableLiveAsyncIndexing")