📜  在 elasticsearch python 代码示例中删除索引

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

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

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