adds to the config the index parameter, needed for disabling the analyzer or the indexing
This commit is contained in:
parent
7bee84e2fa
commit
f4c0a4abda
|
@ -187,6 +187,9 @@ class FOQElasticaExtension extends Extension
|
|||
if (isset($type['search_analyzer'])) {
|
||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['search_analyzer'] = $type['search_analyzer'];
|
||||
}
|
||||
if (isset($type['index'])) {
|
||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['index'] = $type['index'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue