diff --git a/Classes/Aop/FlushContentCacheAfterIndexingAspect.php b/Classes/Aop/FlushContentCacheAfterIndexingAspect.php new file mode 100644 index 0000000..2a84ccd --- /dev/null +++ b/Classes/Aop/FlushContentCacheAfterIndexingAspect.php @@ -0,0 +1,35 @@ +document())") + */ + public function afterDocumentIndexing(JoinPointInterface $joinPoint): void + { + $node = $joinPoint->getMethodArgument('node'); + if (!$node instanceof Node) { + return; + } + $this->contentCacheFlusher->registerNodeChange($node); + } +}