摘要: 使用post请求 POST http://localhost:9200/索引/标签/_delete_by_query?pretty { "query": { "match_all": { } } } 这里的地址、索引和标签换成自己的 其他的不变 阅读全文
posted @ 2021-03-21 14:15 yvioo 阅读(583) 评论(0) 推荐(0)
摘要: /** * 递归删除文件夹下所有内容 最后删除该文件夹 * @param filePath 要删除的文件夹路径 * @return */ public boolean deleteFiles(String filePath) { File file = new File(filePath); ret 阅读全文
posted @ 2021-03-21 00:27 yvioo 阅读(282) 评论(0) 推荐(0)