上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 27 下一页
摘要: 前言: 场景,linux shell环境,仅安装mongo.sh客户端,连接远程数据库,验证可访问性。(centos为例) 1. 获取shell 二进制文件 wget https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.0/x86_64/RPMS/ 阅读全文
posted @ 2021-09-15 14:30 虹梦未来 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 现象: Limit of total fields [1000] in index [xxx] has been exceeded 问题: 如何设置elasticsearch的index字段上限,从默认1000到任意值? 以下操作使用 kibana完成 1.查询settings设置(未设置的情况下, 阅读全文
posted @ 2021-09-08 15:18 虹梦未来 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1.概述 在本教程中,我们将探讨用于处理具有重复键的Map的可用选项,或者换言之,允许为单个键存储多个值的Map。 2.标准Map Java有几个接口Map的实现,每个都有自己的特殊性。 但是,现有的Java核心Map实现都不允许Map处理单个键的多个值。 我们可以看到,如果我们尝试为同一个键插入两 阅读全文
posted @ 2021-09-02 09:44 虹梦未来 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 前言: 有的时候,我们希望能够直接借助es的分词功能,可以借助kibana或者其他可视化工具,甚至是rest请求,直接验证分词结果。 (elk7.8环境,配置了ik插件) GET _analyze { "analyzer":"ik_smart", "text":"小龙女对杨过笑了" } { "tok 阅读全文
posted @ 2021-09-01 17:51 虹梦未来 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 除Long之外,还有Byte,Short,Integer,Long,Character都实现了常量池,除Character外,范围都是(-128~127);Character的范围是(0-127)。 Long常量池源码截图: 更详细的解读,参考 https://blog.csdn.net/liyao 阅读全文
posted @ 2021-08-31 14:22 虹梦未来 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 前言: 根据需求,出现分类10,分类7,分类03类似的数据时,需要排程分类03,分类7,分类10,可参考如下实现。 原文鸣谢: https://www.cnblogs.com/interdrp/p/8970593.html 效果展示: 核心算法: 1.实现Comparetor,重写compare 原 阅读全文
posted @ 2021-08-26 10:48 虹梦未来 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 环境: centos7.6 elastic search 7.8 no docker cd /usr/share/elasticsearch/plugins mkdir pinyin wget https://github.com/medcl/elasticsearch-analysis-pinyi 阅读全文
posted @ 2021-08-26 10:40 虹梦未来 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 命令格式: 前面是查询语句加上(into outfile)加上后边的输出地址 select * from xxx where xx = '' into outfile '/home/xxx.csv' 问题: running with the --secure-file-priv option so 阅读全文
posted @ 2021-08-18 14:02 虹梦未来 阅读(6) 评论(0) 推荐(0) 编辑
摘要: kibana 7.8 centos环境安装遇到的问题及解决方案 问题一: Could not close browser client handle 解决方案: yum install ipa-gothic-fonts yum install xorg-x11-fonts-100dpi yum in 阅读全文
posted @ 2021-08-10 11:29 虹梦未来 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 前言:虽然有代码生成器可以快速生成实体类和sql语句,但还是有很高的几率处理下滑线转驼峰。 插件名称:CamelCase PascalCase Convert Plugin 快捷键: shift + alt + ctrl + y 比原始的camelCase插件更直接一点。 阅读全文
posted @ 2021-08-06 18:16 虹梦未来 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 27 下一页