From eaa5779b64371a5b66d3d858c4e298fb1f2c0ef6 Mon Sep 17 00:00:00 2001 From: "Kevin L." Date: Tue, 27 Aug 2024 14:23:12 +0200 Subject: [PATCH] Update doDeleteFromIndex and add isExcludedClass check --- src/Service.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Service.php b/src/Service.php index c319828..121c160 100644 --- a/src/Service.php +++ b/src/Service.php @@ -472,6 +472,10 @@ protected function updateUpdateQueueForDataObject(Concrete $object) public function doDeleteFromIndex(Concrete $object): void { + if ($this->isExcludedClass($object->getClassName())) { + return; + } + $params = [ 'index' => $this->getIndexName($object->getClassName()), 'id' => $object->getId()