Skip to content
Browse files

Merge pull request #176 from Fran6co/fix-index-property

adds to the config the index parameter
  • Loading branch information...
2 parents 7bee84e + f4c0a4a commit 193ca3848b3849c0fb18251c05126b69bd102c9d @jmikola jmikola committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 DependencyInjection/FOQElasticaExtension.php
View
3 DependencyInjection/FOQElasticaExtension.php
@@ -187,6 +187,9 @@ protected function loadTypes(array $types, ContainerBuilder $container, $indexNa
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'];
+ }
}
}

0 comments on commit 193ca38

Please sign in to comment.
Something went wrong with that request. Please try again.