From e1754ce51fbf29dca862aef50ca6ee3dd5b4512a Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Tue, 24 Sep 2013 17:10:31 +0200 Subject: [PATCH] forgotten doc transport --- docs/transports.rst | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/transports.rst diff --git a/docs/transports.rst b/docs/transports.rst new file mode 100644 index 00000000..b4ab4e8e --- /dev/null +++ b/docs/transports.rst @@ -0,0 +1,39 @@ +Transport classes +================= + +List of transport classes that can be used, simply import your choice and pass +it to the constructor of :class:`~elasticsearch.Elasticsearch` as +`connection_class`. Note that Thrift and Memcached protocols are experimental +and require a plugin to be installed in your cluster as well as additional +dependencies (`thrift==0.9` and `pylibmc==1.2`). + +.. py:module:: elasticsearch.connection + +Connection +---------- + +.. autoclass:: Connection + +Urllib3HttpConnection +--------------------- + +.. autoclass:: Urllib3HttpConnection + + +RequestsHttpConnection +---------------------- + +.. autoclass:: RequestsHttpConnection + + +ThriftConnection +---------------- + +.. autoclass:: ThriftConnection + + +MemcachedConnection +------------------- + +.. autoclass:: MemcachedConnection +