From a4179b40533827185a67b48a44a034f85637f6fa Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 19 Dec 2017 16:39:42 +0100 Subject: [PATCH] TASK: Also explode char_filter char_filter is also an array, therefore we should explode it. --- Classes/Connection/Elasticsearch/IndexFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Connection/Elasticsearch/IndexFactory.php b/Classes/Connection/Elasticsearch/IndexFactory.php index 49956f0..c4f8637 100644 --- a/Classes/Connection/Elasticsearch/IndexFactory.php +++ b/Classes/Connection/Elasticsearch/IndexFactory.php @@ -94,7 +94,7 @@ class IndexFactory implements Singleton try { $configuration = $this->configuration->get('indexing.' . $documentType . '.index'); - foreach (['analyzer', 'filter'] as $optionsToExpand) { + foreach (['analyzer', 'filter', 'char_filter'] as $optionsToExpand) { if (isset($configuration['analysis'][$optionsToExpand])) { foreach ($configuration['analysis'][$optionsToExpand] as $key => $options) { $configuration['analysis'][$optionsToExpand][$key] = $this->prepareOptions($options);