Exercise/FOQElasticaBundle — Issue #40: conf client
Author: dstosch
Created: 2011-11-25 11:58:50+00:00
State: open

if i set a client
//config.yml
foq_elastica:
clients:
default: { host: test.com, port: 9200 }

I need to change the ...\elastica\lib\Elastica\Client.php to see an effect:
from
public function __construct(array $config = array()) {
$this->setConfig($config);
}
to
public function __construct(array $config = array()) {
$this->setConfig($config[0]);
}