From 2dc933e1c9fa36f2a3a280fa4bb50be7e8e7188e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sat, 20 Dec 2014 14:47:30 +0100 Subject: [PATCH] Add docs that load balancing only applies when more connections specified --- docs/connection.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/connection.rst b/docs/connection.rst index c7f5c6de..26bc8b33 100644 --- a/docs/connection.rst +++ b/docs/connection.rst @@ -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