Skip to content

Instantly share code, notes, and snippets.

@yodlegists
Last active June 18, 2016 02:45
Show Gist options
  • Select an option

  • Save yodlegists/a0f0cac5fdcf7f8fb224f10cdb5b217d to your computer and use it in GitHub Desktop.

Select an option

Save yodlegists/a0f0cac5fdcf7f8fb224f10cdb5b217d to your computer and use it in GitHub Desktop.
Connecting to your cluster
# Specify your host machines as a list of dictionaries with keys "host" and "port", defaults to localhost:9200
client = elasticsearch.Elasticsearch(hosts=HOST_LIST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment