Permalink
Browse files

adds to the config the index parameter, needed for disabling the anal…

…yzer or the indexing
  • Loading branch information...
1 parent 7bee84e commit f4c0a4abdae9587721ba9858192bfc57a654a5ef @fran6co fran6co committed Oct 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 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 f4c0a4a

Please sign in to comment.