随笔分类 -  java技术

摘要:判断索引是否存在 /** * 判断索引是否存在 * * @param index * 索引名,类似数据库名 * @return */ public static boolean isIndexExist(String index) { IndicesExistsRequest request = n 阅读全文
posted @ 2020-11-04 10:23 过氧化氢 阅读(255) 评论(0) 推荐(0) 编辑
摘要:导入Elasticsearch依赖包 <!-- Elasticsearch6.4.3 依赖 --> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>${ 阅读全文
posted @ 2020-11-04 10:17 过氧化氢 阅读(1353) 评论(0) 推荐(0) 编辑
摘要:/**AnXml.fileList(new File("F:/NWT/37227"), new ArrayList<String>())**/public static List<String> fileList(File file,List<String> path) { if(file.exis 阅读全文
posted @ 2020-11-03 17:48 过氧化氢 阅读(571) 评论(0) 推荐(0) 编辑
摘要:xml文件内容 <bulkPmMrDataFile> <fileHeader fileFormatVersion="V2.0.6" reportTime="2020-10-21T00:15:00.000" startTime="2020-10-21T00:00:00.000" endTime="20 阅读全文
posted @ 2020-11-03 17:28 过氧化氢 阅读(306) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示