From 91998d03a774fe0baa3b4a5c2e257886327d96df Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Tue, 26 Nov 2013 16:58:20 +0100 Subject: [PATCH] fixed typo in README --- extensions/elasticsearch/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/elasticsearch/README.md b/extensions/elasticsearch/README.md index 5b2f0dc..57497e2 100644 --- a/extensions/elasticsearch/README.md +++ b/extensions/elasticsearch/README.md @@ -13,7 +13,7 @@ return [ 'components' => [ 'elasticsearch' => [ 'class' => 'yii\elasticsearch\Connection', - 'hosts' => [ + 'nodes' => [ ['http_address' => '127.0.0.1:9200'], // configure more hosts if you have a cluster ], @@ -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... ``` -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 +And there is so much more in it. "it’s endless what you can build"[¹](http://www.elasticsearch.org/)