es 索引的增删改查 javaAPI
public class EsUtil{ // 删除索引 protected boolean deleteIndies(RestHighLevelClient client, String indexName) throws IOException { DeleteIndexRequest index = new DeleteIndexRequest(indexName); if (existIndies(client, indexName)) {
原创
2020-09-10 17:35:55 ·
241 阅读 ·
0 评论