From fde339089495e6165c6f5739cf6ca6f902b85be7 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Fri, 23 Feb 2024 14:29:17 +0100 Subject: [PATCH] Adding entity type in index --- Classes/Command/IndexCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Command/IndexCommand.php b/Classes/Command/IndexCommand.php index 0ff1c51..d9e7fcc 100644 --- a/Classes/Command/IndexCommand.php +++ b/Classes/Command/IndexCommand.php @@ -649,6 +649,7 @@ protected function commitIndices() { $this->io->progressStart(count($index)); foreach ($index as $document) { + $document['type'] = $name; $this->io->progressAdvance(); $params['body'][] = [ 'index' => [