info docstring
This commit is contained in:
@@ -58,13 +58,8 @@ class Elasticsearch(object):
|
|||||||
|
|
||||||
@query_params()
|
@query_params()
|
||||||
def info(self, params=None):
|
def info(self, params=None):
|
||||||
"""
|
""" Get the basic info from the current cluster. """
|
||||||
Want to learn from the creators and advance your data-driven superpowers.
|
status, data = self.transport.perform_request('GET', _make_path(), params=params)
|
||||||
http://elasticsearch.org/guide/
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
|
||||||
status, data = self.transport.perform_request('GET', '/', params=params)
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@query_params('consistency', 'id', 'parent', 'percolate', 'refresh', 'replication', 'routing', 'timeout', 'timestamp', 'ttl', 'version', 'version_type')
|
@query_params('consistency', 'id', 'parent', 'percolate', 'refresh', 'replication', 'routing', 'timeout', 'timestamp', 'ttl', 'version', 'version_type')
|
||||||
|
|||||||
Reference in New Issue
Block a user