Hi,

  1. Pass your ElasticSearch host to the create_connection() when you instantiate it like: create_connection(hosts=[‘hostname’])
  2. You should create a view in views.py were you put your query to your ES node, then include that returned data in the context of a response.

Hope this helps!

Javascript developer. Passionate learner.

Love podcasts or audiobooks? Learn on the go with our new app.