From 625bbce266ec84472d4f8ec9c5c5713708684625 Mon Sep 17 00:00:00 2001 From: Dominique Feyer Date: Tue, 14 Feb 2017 00:20:01 +0100 Subject: [PATCH] TASK: Support recent refactoring in the upstream NodeIndexer --- .../ContentRepositoryQueueIndexer/Indexer/NodeIndexer.php | 7 +++++++ 1 file changed, 7 insertions(+) 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")