📜  删除索引弹性搜索 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:53.157000             🧑  作者: Mango

代码示例6
from elasticsearch import Elasticsearch
es = Elasticsearch()

es.indices.delete(index='test-index', ignore=[400, 404])