|
|
@ -13,7 +13,7 @@ return [ |
|
|
|
'components' => [ |
|
|
|
'components' => [ |
|
|
|
'elasticsearch' => [ |
|
|
|
'elasticsearch' => [ |
|
|
|
'class' => 'yii\elasticsearch\Connection', |
|
|
|
'class' => 'yii\elasticsearch\Connection', |
|
|
|
'hosts' => [ |
|
|
|
'nodes' => [ |
|
|
|
['http_address' => '127.0.0.1:9200'], |
|
|
|
['http_address' => '127.0.0.1:9200'], |
|
|
|
// configure more hosts if you have a cluster |
|
|
|
// configure more hosts if you have a cluster |
|
|
|
], |
|
|
|
], |
|
|
|