Add docs that load balancing only applies when more connections specified

This commit is contained in:
Honza Král
2014-12-20 14:47:30 +01:00
parent 836c6d1933
commit 2dc933e1c9
+7 -1
View File
@@ -11,7 +11,13 @@ will be passed on to :class:`~elasticsearch.Transport`,
For example if you wanted to use your own implementation of the
:class:`~elasticsearch.ConnectionSelector` class you can just pass in the
`selector_class` parameter.
``selector_class`` parameter.
.. note::
:class:`~elasticsearch.ConnectionPool` and related options (like
``selector_class``) will only be used if more than one connection is defined.
Either directly or via the :ref:`sniffing` mechanism.
.. py:module:: elasticsearch