IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Changing the Connection Pool
editChanging the Connection Pool
editChanging the connection pool is very simple: instantiate the client with your chosen connection pool implementation:
$params['connectionPoolClass'] = '\Elasticsearch\ConnectionPool\SniffingConnectionPool'; $client = new Elasticsearch\Client($params);