摘要: ElasticSearch获取超过1w条数据,需要在查询的时候加上 track_total_hits :true 如: GET /kibana_sample_data_flights/_search { "track_total_hits": true, "query": { "match_all" 阅读全文
posted @ 2021-05-27 16:23 薛无道 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 修改war包安装的jenkins的工作目录 我的jenkins是在tomact容器下部署的war包所以我要在tomact的bin目录下修改,catalina.sh这个配置下进行添加参数 export JENKINS_HOME=/home/jekins 修改 /etc/profile在web容器启动之 阅读全文
posted @ 2020-12-01 19:41 薛无道 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 具体安装 检查是否已安装过mariadb,若有便删除(linux系统自带的) shell>rpm -qa | grep mariadb 如果安装了删除 shell>rpm -e --nodeps mariadb-libs-5.5.44-2.el7.centos.x86_64 检查是否已安装过mysq 阅读全文
posted @ 2020-09-10 17:16 薛无道 阅读(131) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/BV19E411H7VZ/?p=2 阅读全文
posted @ 2020-07-11 15:37 薛无道 阅读(83) 评论(0) 推荐(0) 编辑
摘要: git上传项目命令方式 1.命令行中,输入 git init 2.将文件夹中的内容全部添加到git管理中 git add . 3.提交 git commit -m 'first commit' 4.连接github仓库 git remote add origin https://github.com 阅读全文
posted @ 2020-07-06 16:25 薛无道 阅读(122) 评论(0) 推荐(0) 编辑
摘要: POST /article/_analyze { "analyzer": "my_analyzer", "text": ["贵州省县级融媒体中心省级技术平台“多彩云”系列移动客户端集中上线美国"] } PUT article { "settings": { "analysis": { "analyz 阅读全文
posted @ 2020-06-18 15:45 薛无道 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 配置分析器 PUT analyzer_index { "settings": { "analysis": { //字符过滤器 "char_filter": { "my_char_filter": { "type": "html_strip" } }, //分词过滤器 "filter": { "my_ 阅读全文
posted @ 2020-06-16 14:04 薛无道 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 原因 聚合查询出现这样的报错是因为mysql设定的mode含有 ONLY_FULL_GROUP_BY1mysql> select @@sql_mode;+ +| @@sql_mode |+ +| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DA 阅读全文
posted @ 2020-06-14 17:32 薛无道 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1、max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 每个进程最大同时打开文件数太小,可通过下面2个命令查看当前数量 ulimit -Hn ulimit -Sn 阅读全文
posted @ 2020-06-12 14:57 薛无道 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 卸载 1.查询安装过的包 yum list installed | grep docker docker-engine.x86_64 17.03.0.ce-1.el7.centos @dockerrepo 2.删除安装的软件包 yum -y remove docker-engine.x86_64 3 阅读全文
posted @ 2020-06-01 22:16 薛无道 阅读(123) 评论(0) 推荐(0) 编辑