Answers for "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

Code answers related to "delete indices in elasticsearch"

Browse Popular Code Answers by Language