Skip to content

Commit

Permalink
Merge pull request #211 from ignaciovazquez/fix-docs
Browse files Browse the repository at this point in the history
Fixed wrong connectionPoolClass reference to connectionClass
  • Loading branch information
polyfractal committed Apr 3, 2015
1 parent 15f3582 commit c6960c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/connections.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Changing the connection class is very simple: instantiate the client with your c

[source,php]
----
$params['connectionPoolClass'] = '\Elasticsearch\Connections\CurlMultiConnection';
$params['connectionClass'] = '\Elasticsearch\Connections\CurlMultiConnection';
$client = new Elasticsearch\Client($params);
----
{zwsp} +
Expand Down Expand Up @@ -73,7 +73,7 @@ can then use your new class by specifying it at instantiation.

[source,php]
----
$params['connectionPoolClass'] = '\MyProject\MyConnection';
$params['connectionClass'] = '\MyProject\MyConnection';
$client = new Elasticsearch\Client($params);
----
{zwsp} +
Expand Down

0 comments on commit c6960c0

Please sign in to comment.