Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete index in elasticsearch python

from elasticsearch import Elasticsearch
es = Elasticsearch()

es.indices.delete(index='test-index', ignore=[400, 404])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #index #elasticsearch #python
ADD COMMENT
Topic
Name
5+1 =