Commit 91998d03 by Carsten Brandt

fixed typo in README

parent 56f25301
...@@ -13,7 +13,7 @@ return [ ...@@ -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
], ],
...@@ -145,4 +145,4 @@ $query->addStatisticalFacet('click_stats', ['field' => 'visit_count']); ...@@ -145,4 +145,4 @@ $query->addStatisticalFacet('click_stats', ['field' => 'visit_count']);
$query->search(); // gives you all the records + stats about the visit_count field. e.g. mean, sum, min, max etc... $query->search(); // gives you all the records + stats about the visit_count field. e.g. mean, sum, min, max etc...
``` ```
And there is so much more in it. "it’s endless what you can build"[¹](http://www.elasticsearch.org/) And there is so much more in it. "it’s endless what you can build"[¹](http://www.elasticsearch.org/)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment