Update DependencyInjection/FOQElasticaExtension.php
This commit is contained in:
parent
ea921c8abe
commit
d9367c7ed8
|
@ -173,6 +173,9 @@ class FOQElasticaExtension extends Extension
|
|||
if (isset($type['_boost'])) {
|
||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['_boost'] = $type['_boost'];
|
||||
}
|
||||
if (isset($type['_routing'])) {
|
||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['_routing'] = $type['_routing'];
|
||||
}
|
||||
if (isset($type['mappings'])) {
|
||||
$this->indexConfigs[$indexName]['config']['mappings'][$name]['properties'] = $type['mappings'];
|
||||
$typeName = sprintf('%s/%s', $indexName, $name);
|
||||
|
|
Loading…
Reference in a new issue