摘要: (1)在大量文件所在的目录,在地址栏输入cmd,进行cmd模式。 (2)copy *.txt destination.txt 执行这样的命令即可。文件格式可以更改。 阅读全文
posted @ 2020-06-17 18:02 seufelix 阅读(679) 评论(0) 推荐(0) 编辑
摘要: solr的提供了一个CSV Response writer,可以帮助我们导出的Solr的结果,导出成CSV文件。 http://localhost:8983/solr/select?q=huawei&fl=id,cat,name,popularity,price,score&wt=csv&rows= 阅读全文
posted @ 2020-06-16 18:08 seufelix 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 批量更新文档 3 * 4 * @param index ES索引 5 * @param documents 待提交的批量文档 6 * @param uuidKey 文档中ID字段对应的key值 7 */ 8 public BulkResponse updateDocumentsA 阅读全文
posted @ 2020-06-12 10:08 seufelix 阅读(3401) 评论(0) 推荐(0) 编辑
摘要: 1 import com.alibaba.fastjson.JSON; 2 import lombok.extern.slf4j.Slf4j; 3 import org.apache.commons.collections4.CollectionUtils; 4 import org.apache. 阅读全文
posted @ 2020-06-12 09:59 seufelix 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: 可以用apache工具类DigestUtils实现 使用的类完整路径:org.apache.common.codec.digest.DigestUtils public static string md5(String str){ if(str == null){ return ""; } reut 阅读全文
posted @ 2020-06-01 10:56 seufelix 阅读(2326) 评论(0) 推荐(0) 编辑
摘要: 在平常开始使用gitlab时通常会建立一些测试库、或者一些临时库。目前GitLab系统中删除很难找到,下面简单介绍下gialb10+版本如何删除项目工程。 一、打开项目主页,选择Setting>General。(设置>全局) 二、打开设置,全局页面后,选择最底端 Advanced settings( 阅读全文
posted @ 2020-02-21 14:32 seufelix 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 安装背景: Ubuntu 16.0.4, 集成显卡,不能连接外网,需要使用Tensorflow2.0 安装软件配套: Anaconda3-4.7(内部集成Python3.7),TensorFlow2.0(文件名应包含cp37-cp37m-manylinux2010_x86_64,其中cp37-cp3 阅读全文
posted @ 2020-01-17 09:07 seufelix 阅读(2654) 评论(2) 推荐(0) 编辑