使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

如何删除一个type下所有数据

Elasticsearch | 作者 testwang | 发布于2015年07月12日 | 阅读数:12007

想删除一个type下的所有文档可以直接删除type
已邀请:

testwang - 技术宅

赞同来自:

es.indices.delete_mapping(index="test-index",doc_type="tweet")

medcl - 今晚打老虎。

赞同来自:

RESTful方式 curl -XDELETE http://locahost:9200/test-index/tweet

要回复问题请先登录注册