mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-23 21:16:12 +01:00
TASK: Also explode char_filter
char_filter is also an array, therefore we should explode it.
This commit is contained in:
parent
51503b0e71
commit
a4179b4053
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue