随笔分类 - java技术
摘要:判断索引是否存在 /** * 判断索引是否存在 * * @param index * 索引名,类似数据库名 * @return */ public static boolean isIndexExist(String index) { IndicesExistsRequest request = n
阅读全文
摘要:导入Elasticsearch依赖包 <!-- Elasticsearch6.4.3 依赖 --> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>${
阅读全文
摘要:/**AnXml.fileList(new File("F:/NWT/37227"), new ArrayList<String>())**/public static List<String> fileList(File file,List<String> path) { if(file.exis
阅读全文
摘要:xml文件内容 <bulkPmMrDataFile> <fileHeader fileFormatVersion="V2.0.6" reportTime="2020-10-21T00:15:00.000" startTime="2020-10-21T00:00:00.000" endTime="20
阅读全文