06 2021 档案

摘要:部署了单节点集群由于只有一个节点,而elasticsearch采用默认配置(5分片,1副本),因此群集无法放置副本会处于黄色状态。解决方案如下:可以将副本计数降低到0或将第二个节点添加到群集,以便可以将主分片和副本分片安全地放在不同的节点上。这样做以后,如果您的节点崩溃,群集中的另一个节点将拥有该分 阅读全文
posted @ 2021-06-30 14:18 myblogexecutive 阅读(89) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-30 11:37 myblogexecutive 阅读(203) 评论(0) 推荐(0)
摘要:[root@tbds-172-27-0-174 elasticsearch]# bin/elasticsearch-certutil ca ##生成证书,直接全部回车到最后 [root@tbds-172-27-0-174 elasticsearch]# bin/elasticsearch-certu 阅读全文
posted @ 2021-06-29 14:44 myblogexecutive 阅读(1290) 评论(0) 推荐(0)
摘要:解决shiro低版本漏洞引起的问题(升级shiro) 阅读全文
posted @ 2021-06-29 11:45 myblogexecutive 阅读(95) 评论(0) 推荐(0)
摘要:索引 通俗地来讲,正向索引是通过key找value,反向索引则是通过value找key. 正向索引 正向索引(forward index) 以文档的ID为关键字,表中的记录文档中每个字的位置信息,查找时扫描表中每个文档中的字的信息直到找出所有包含查询关键字的文档 这种组织方法在建立索引的时候结构比较 阅读全文
posted @ 2021-06-28 17:08 myblogexecutive 阅读(69) 评论(0) 推荐(0)
摘要:cd /home/els/elasticsearch-7.13.2/bin /home/els/elasticsearch-7.13.2/jdk 阅读全文
posted @ 2021-06-28 11:46 myblogexecutive 阅读(128) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-28 10:38 myblogexecutive 阅读(74) 评论(0) 推荐(0)
摘要:https://github.com/medcl/elasticsearch-analysis-ik 阅读全文
posted @ 2021-06-28 10:28 myblogexecutive 阅读(42) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-28 09:43 myblogexecutive 阅读(42) 评论(0) 推荐(0)
摘要:import ( v2 "github.com/YFJie96/wx-mall/controller/api/v2" _ "github.com/YFJie96/wx-mall/docs" . "fmt" "github.com/gin-gonic/gin" "github.com/swaggo/g 阅读全文
posted @ 2021-06-07 09:43 myblogexecutive 阅读(302) 评论(0) 推荐(0)
摘要:select concat('DROP TABLE IF EXISTS ',table_name,";") from information_schema.tables where table_schema="db1";; db1代表库名 阅读全文
posted @ 2021-06-05 16:53 myblogexecutive 阅读(72) 评论(0) 推荐(0)
摘要:安装依赖 yum install libaio wget -y检查MYSQL是否已安装 yum list installed | grep mysql 如果有先卸载 # 格式 yum -y remove [包名]yum -y remove mysql-libs.x86_64 下载MySQL官网的仓库 阅读全文
posted @ 2021-06-04 16:29 myblogexecutive 阅读(142) 评论(0) 推荐(0)