Merge pull request #62 from merk/patch-1
Fix index wide finder config check
This commit is contained in:
parent
90bb52eb33
commit
ce82e8f591
|
@ -70,7 +70,10 @@ class Configuration
|
|||
->performNoDeepMerging()
|
||||
->children()
|
||||
->scalarNode('client')->end()
|
||||
->scalarNode('finder')->end()
|
||||
->scalarNode('finder')
|
||||
->treatNullLike(true)
|
||||
->defaultFalse()
|
||||
->end()
|
||||
->arrayNode('type_prototype')
|
||||
->children()
|
||||
->arrayNode('persistence')
|
||||
|
|
|
@ -111,7 +111,7 @@ class FOQElasticaExtension extends Extension
|
|||
'mappings' => array()
|
||||
)
|
||||
);
|
||||
if (isset($index['finder'])) {
|
||||
if ($index['finder']) {
|
||||
$this->loadIndexFinder($container, $name, $indexId);
|
||||
}
|
||||
if (!empty($index['settings'])) {
|
||||
|
|
Loading…
Reference in a new issue