@@ -67,10 +67,10 @@ def __init__(
67
67
:arg connection_class: subclass of :class:`~elasticsearch.Connection` to use
68
68
:arg connection_pool_class: subclass of :class:`~elasticsearch.ConnectionPool` to use
69
69
:arg host_info_callback: callback responsible for taking the node information from
70
- `/_cluser /nodes`, along with already extracted information, and
70
+ `/_cluster /nodes`, along with already extracted information, and
71
71
producing a list of arguments (same as `hosts` parameter)
72
72
:arg sniff_on_start: flag indicating whether to obtain a list of nodes
73
- from the cluser at startup time
73
+ from the cluster at startup time
74
74
:arg sniffer_timeout: number of seconds between automatic sniffs
75
75
:arg sniff_on_connection_fail: flag controlling if connection failure triggers a sniff
76
76
:arg sniff_timeout: timeout used for the sniff request - it should be a
@@ -187,7 +187,7 @@ def _create_connection(host):
187
187
188
188
def get_connection (self ):
189
189
"""
190
- Retreive a :class:`~elasticsearch.Connection` instance from the
190
+ Retrieve a :class:`~elasticsearch.Connection` instance from the
191
191
:class:`~elasticsearch.ConnectionPool` instance.
192
192
"""
193
193
if self .sniffer_timeout :
@@ -197,7 +197,7 @@ def get_connection(self):
197
197
198
198
def _get_sniff_data (self , initial = False ):
199
199
"""
200
- Perform the request to get sniffins information. Returns a list of
200
+ Perform the request to get sniffing information. Returns a list of
201
201
dictionaries (one per node) containing all the information from the
202
202
cluster.
203
203
@@ -294,7 +294,7 @@ def perform_request(self, method, url, headers=None, params=None, body=None):
294
294
If an exception was raised, mark the connection as failed and retry (up
295
295
to `max_retries` times).
296
296
297
- If the operation was succesful and the connection used was previously
297
+ If the operation was successful and the connection used was previously
298
298
marked as dead, mark it as live, resetting it's failure count.
299
299
300
300
:arg method: HTTP method to use
0 commit comments