def __init__(self): self.es = elasticsearch.Elasticsearch(["xxxxx:9200", "xxxxx:9201", "xxxxx:9202"], http_auth=('user', 'passwd'))
def __init__(self): self.es = elasticsearch.Elasticsearch(["xxxxx:9200", "xxxxx:9201", "xxxxx:9202"], http_auth=('user', 'passwd'))