Merge pull request #176 from Fran6co/fix-index-property
adds to the config the index parameter
This commit is contained in:
commit
193ca3848b
|
@ -187,6 +187,9 @@ class FOQElasticaExtension extends Extension
|
||||||
if (isset($type['search_analyzer'])) {
|
if (isset($type['search_analyzer'])) {
|
||||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['search_analyzer'] = $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