Merge pull request #243 from uehondor/fix-search-command

fix search command
This commit is contained in:
Jeremy Mikola 2013-02-26 12:58:59 -08:00
commit dea32f9b56

View file

@ -112,7 +112,7 @@ class FOQElasticaExtension extends Extension
$indexDef->setFactoryMethod('getIndex');
$container->setDefinition($indexId, $indexDef);
$typePrototypeConfig = isset($index['type_prototype']) ? $index['type_prototype'] : array();
$indexIds[$name] = $indexId;
$indexIds[$indexName] = $indexId;
$this->indexConfigs[$name] = array(
'index' => new Reference($indexId),
'config' => array(