Python Elasticsearch How to Delete an Index (indices)

preview_player
Показать описание
Python Elasticsearch How to Delete an Index (indices)
sudo pip install elasticsearch

from elasticsearch import Elasticsearch

es_conn = Elasticsearch(HOST_URLS)

INDEX_NAME = "school"

#Create a new index
print "==res===", res

print "==res===", res

#Delete Index
print "==res===", res

print "==res===", res
Рекомендации по теме
welcome to shbcf.ru