From 4000699812881cdcc00fea477f8c85a7a44a17cd Mon Sep 17 00:00:00 2001 From: Benjamin Serfhos Date: Mon, 29 Oct 2018 09:54:48 +0100 Subject: [PATCH] [TASK] Remove duplicate search_identifier in index --- Classes/Connection/Elasticsearch/DocumentFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Connection/Elasticsearch/DocumentFactory.php b/Classes/Connection/Elasticsearch/DocumentFactory.php index ca90ebe..d570789 100644 --- a/Classes/Connection/Elasticsearch/DocumentFactory.php +++ b/Classes/Connection/Elasticsearch/DocumentFactory.php @@ -57,6 +57,7 @@ class DocumentFactory implements Singleton } $identifier = $document['search_identifier']; + unset($document['search_identifier']); $this->logger->debug( sprintf('Convert %s %u to document.', $documentType, $identifier),