Удалить индекс в Elasticsearch Python
from elasticsearch import Elasticsearch
es = Elasticsearch()
es.indices.delete(index='test-index', ignore=[400, 404])
Disgusted Deer
from elasticsearch import Elasticsearch
es = Elasticsearch()
es.indices.delete(index='test-index', ignore=[400, 404])
curl -X DELETE 'http://localhost:9200/_all'