Answers for "how to delete indices in elasticsearch"

1

delete index in elasticsearch python

from elasticsearch import Elasticsearch
es = Elasticsearch()

es.indices.delete(index='test-index', ignore=[400, 404])
Posted by: Guest on November-02-2021
1

delete index elasticsearch

curl -X DELETE 'http://localhost:9200/_all'
Posted by: Guest on November-28-2020

Code answers related to "how to delete indices in elasticsearch"

Browse Popular Code Answers by Language