diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index facb866a..7b23d601 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -1,5 +1,5 @@ from ..transport import Transport -from .indices import InidicesClient +from .indices import IndicesClient from .cluster import ClusterClient def _normalize_hosts(hosts): @@ -51,5 +51,5 @@ class Elasticsearch(object): self.transport = transport_class(_normalize_hosts(hosts), **kwargs) # namespaced clients for compatibility with API names - self.indices = InidicesClient(self) + self.indices = IndicesClient(self) self.cluster = ClusterClient(self) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 139b3379..1783cb18 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -1,7 +1,7 @@ from .utils import NamespacedClient, query_params, _make_path from ..exceptions import NotFoundError -class InidicesClient(NamespacedClient): +class IndicesClient(NamespacedClient): @query_params('analyzer', 'field', 'filters', 'format', 'index', 'prefer_local', 'text', 'tokenizer') def analyze(self, index=None, body=None, params=None): """