diff --git a/src/module-elasticsuite-catalog/Plugin/Indexer/Category/Save/ReindexCategoryAfterSave.php b/src/module-elasticsuite-catalog/Plugin/Indexer/Category/Save/ReindexCategoryAfterSave.php index d09570c14..5c814e4d7 100644 --- a/src/module-elasticsuite-catalog/Plugin/Indexer/Category/Save/ReindexCategoryAfterSave.php +++ b/src/module-elasticsuite-catalog/Plugin/Indexer/Category/Save/ReindexCategoryAfterSave.php @@ -53,7 +53,9 @@ public function aroundReindex( if ($subject->getLevel() > 1) { $categoryIndexer = $this->indexerRegistry->get(\Smile\ElasticsuiteCatalog\Model\Category\Indexer\Fulltext::INDEXER_ID); - $categoryIndexer->reindexRow($subject->getId()); + if (!$categoryIndexer->isScheduled()) { + $categoryIndexer->reindexRow($subject->getId()); + } } return; diff --git a/src/module-elasticsuite-catalog/etc/mview.xml b/src/module-elasticsuite-catalog/etc/mview.xml index e8f1ef613..d72a5fca2 100644 --- a/src/module-elasticsuite-catalog/etc/mview.xml +++ b/src/module-elasticsuite-catalog/etc/mview.xml @@ -24,6 +24,13 @@ - + + +
+
+
+
+
+