As the steps are a little bit tricky, I use the working UI component SMCOV and SMCCMBO to illustrate. After Advanced button is clicked: Step1: The nav ...
分类:
其他好文 时间:
2020-08-06 13:07:54
阅读次数:
73
前言前几天公司生产环境一个服务由于流量上升触发了Sentinel的流控机制,然后用户反馈访问慢,定位发现是task定时任务导致,后面task优化之后发布,流量恢复正常。这是一个再正常不过的生产问题,可能大部分同学都经历过,经历过的大多数是解决问题之后就不了了之,导致事故还有再次发生的可能,最终对用户造成了不好的体验。所以我觉得所有的生产问题都需要进行复盘,当然复盘的目的不是为了追责,而是防止下次再
分类:
其他好文 时间:
2020-07-31 01:02:24
阅读次数:
94
Mosquitto的配置文件mosquitto.conf解析 本文主要是针对websocket、ssl、mosquitto-auth-plug做相应的配置 主要还是需要根据项目的业务进行相应的配置 主要中文解析可以参考https://blog.csdn.net/luckykapok918/artic ...
分类:
其他好文 时间:
2020-07-28 17:00:05
阅读次数:
174
Additive Number Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. ...
分类:
其他好文 时间:
2020-07-27 17:46:30
阅读次数:
60
问题: An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM ins ...
分类:
移动开发 时间:
2020-07-24 22:03:36
阅读次数:
160
1 匹配精准度不够参数:minimum_should_match 我们可以通过代码的方式进行再match匹配的字段上添加匹配力度 ,这样如果搜索有4个词汇,那么需要匹配至少3个才行。 2 匹配精准度不够参数:boots,在匹配某一个指定的字段时,一旦匹配成功让其增加score分值,提升排名。 3 再 ...
分类:
其他好文 时间:
2020-07-24 16:42:47
阅读次数:
97
直接上代码: // 创建一个查询条件对象 BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery(); // 拼接查询条件 queryBuilder.should(QueryBuilders.termQuery("字段", "值")); // ...
分类:
其他好文 时间:
2020-07-24 09:55:20
阅读次数:
129
Handlers 记录日志到文件与系统日志(syslog) StreamHandler:记录日志到任何 PHP stream,用它来记录到文件。 RotatingFileHandler: 每天一个文件,会自动删除比$maxFiles老的文件,这只是一个很随意的方案, You should use l ...
分类:
其他好文 时间:
2020-07-24 09:41:01
阅读次数:
83
一、Reading My girlfriend always complains. According to her, I should be more ambitious. I should work harder and earn more money. She also thinks I sh ...
分类:
其他好文 时间:
2020-07-21 22:40:49
阅读次数:
117