Typo InidicesClient -> IndicesClient

This commit is contained in:
Honza Kral
2013-06-16 16:30:25 +02:00
parent 3b0cc85f96
commit 2c43cd0bd2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from ..transport import Transport from ..transport import Transport
from .indices import InidicesClient from .indices import IndicesClient
from .cluster import ClusterClient from .cluster import ClusterClient
def _normalize_hosts(hosts): def _normalize_hosts(hosts):
@@ -51,5 +51,5 @@ class Elasticsearch(object):
self.transport = transport_class(_normalize_hosts(hosts), **kwargs) self.transport = transport_class(_normalize_hosts(hosts), **kwargs)
# namespaced clients for compatibility with API names # namespaced clients for compatibility with API names
self.indices = InidicesClient(self) self.indices = IndicesClient(self)
self.cluster = ClusterClient(self) self.cluster = ClusterClient(self)
+1 -1
View File
@@ -1,7 +1,7 @@
from .utils import NamespacedClient, query_params, _make_path from .utils import NamespacedClient, query_params, _make_path
from ..exceptions import NotFoundError from ..exceptions import NotFoundError
class InidicesClient(NamespacedClient): class IndicesClient(NamespacedClient):
@query_params('analyzer', 'field', 'filters', 'format', 'index', 'prefer_local', 'text', 'tokenizer') @query_params('analyzer', 'field', 'filters', 'format', 'index', 'prefer_local', 'text', 'tokenizer')
def analyze(self, index=None, body=None, params=None): def analyze(self, index=None, body=None, params=None):
""" """