![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作使用
壳子先生
干就完事了
展开
-
防火墙放行指定端口流程
https://www.cnblogs.com/ubiquitousShare/p/13135747.html防火墙放行指定端口流程转载 2021-04-29 17:58:09 · 728 阅读 · 0 评论 -
lambda表达式解析
lambda表达式解析https://www.runoob.com/java/java8-lambda-expressions.html转载 2021-04-01 13:52:24 · 74 阅读 · 0 评论 -
为字段添加索引
为字段添加索引https://www.w3school.com.cn/sql/sql_create_index.asp==============================================//添加索引CREATE INDEX index_nameON `mblog_copy` (content)//查看是否成功添加索引show index from `mblog_copy`;index_name是起的索引别名============================原创 2021-03-31 17:34:54 · 1733 阅读 · 0 评论 -
es启动异常用户内存权限太小
elasticsearch启动时遇到的错误max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]问题翻译过来就是:elasticsearch用户拥有的内存权限太小,至少需要262144;解决:切换到root用户执行命令:sysctl -w vm.max_map_count=262144查看结果:sysctl -a|grep vm.max_map_count显示:转载 2020-12-21 14:34:42 · 272 阅读 · 0 评论 -
ES查询条件拼接
ES查询条件拼接Elasticsearch:RestClient+SearchSourceBuilder使用案例https://blog.51cto.com/xpleaf/2294268转载 2020-12-11 10:55:21 · 1375 阅读 · 0 评论 -
判断当前数值是整数还是小数
判断当前数值是整数还是小数函数介绍:matches() 方法用于检测字符串是否匹配给定的正则表达式。语法:1public boolean matches(String regex)返回值:在字符串匹配给定的正则表达式时,返回 true。StringUtils.isBlank(String str)判断某字符串是否为空或长度为0或由空白符(whitespace) 构成。示例如下:/**判断是否是整数或者是小数@param str@return true:是,false不是转载 2020-07-29 16:50:10 · 2006 阅读 · 1 评论