diff --git a/Classes/Indexer/NodeIndexer.php b/Classes/Indexer/NodeIndexer.php index 2434cd2..95a402c 100644 --- a/Classes/Indexer/NodeIndexer.php +++ b/Classes/Indexer/NodeIndexer.php @@ -58,7 +58,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null): voi $this->removeNode($node, $targetWorkspaceName); return; } - if ($this->enableLiveAsyncIndexing !== true) { + // During bulk builds (postfix is set), always index directly to avoid async queuing + if ($this->enableLiveAsyncIndexing !== true || $this->indexNamePostfix !== '') { parent::indexNode($node, $targetWorkspaceName); return; @@ -88,7 +89,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null): voi */ public function removeNode(NodeInterface $node, string $targetWorkspaceName = null): void { - if ($this->enableLiveAsyncIndexing !== true) { + // During bulk builds (postfix is set), always remove directly to avoid async queuing + if ($this->enableLiveAsyncIndexing !== true || $this->indexNamePostfix !== '') { parent::removeNode($node, $targetWorkspaceName); return;