From a4dcbb9ab9cde16bad26d8d0d76be2fb7378f5ad 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()