Python ElasticSearch from elasticsearch import Elasticsearch es = Elasticsearch('http://127.0.0.1:9200') ix = ix_name # string Search All Index for index in es.indices.get('*'): print(index) Create Index # 3 shards, 1 replicas body={"settings" : {"index" : {"number_of_shards" : 3,"number_of_replicas" : 1 }}} res = es.indices.create(index=ix, body=mapping) print(res) -----------------------------..