Python Clients#

What is the python client to use?

Create an Index#

# Define a default Elasticsearch client
connections.create_connection(hosts=['localhost'])

# Create index
test_index = Index(name='test')
test_index.create()

Checking things with HTTP#

List all indices

https://{host}:{port}/_cat/indices