上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: 先写个标题,慢慢更新 默认的词库就算最小细粒度分词,很多名词也不会单字分词 比如:阿迪达斯,在IK是一个词,搜索每个字的单字关键词是无结果的,必须搜索阿迪达斯才有结果 所以我们需要扩展词库 IK官方教程 https://github.com/medcl/elasticsearch-analysis- 阅读全文
posted @ 2019-11-18 11:51 suruozhong 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: 添加pom <!--elasticsearch--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </ 阅读全文
posted @ 2019-11-16 16:29 suruozhong 阅读(831) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xiaojianfeng/p/9435507.html Node安装配置 第一步:下载Node 第二步:解压下载的Node包 第三步:配置node和npm 注意:node所在目录,我的node目录是/usr/local/node-v10.13.0-li 阅读全文
posted @ 2019-11-15 15:39 suruozhong 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 在常用的中文分词器、拼音分词器、繁简体转换插件。国内用的就多的分别是:elasticsearch-analysis-ikelasticsearch-analysis-pinyinelasticsearch-analysis-stconvert 下载版本对应es版本 将下载后的文件放到el的plugi 阅读全文
posted @ 2019-11-15 12:02 suruozhong 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 安装jdk环境,自行百度 安装elasticsearch 下载 https://www.elastic.co/cn/downloads/elasticsearch 我目前使用的版本,包含分词插件 链接: https://pan.baidu.com/s/1gJX20Gy3TbgCNvxNl8jbLA 阅读全文
posted @ 2019-11-14 11:49 suruozhong 阅读(161) 评论(0) 推荐(0) 编辑
摘要: gitlab服务器IP地址更换后需要修改以下两个配置中的IP地址: /var/opt/gitlab/gitlab-rails/etc/gitlab.yml /etc/gitlab/gitlab.rb 重新加载配置 gitlab-ctl reconfigure 然后重启gitlab服务 gitlab- 阅读全文
posted @ 2019-11-12 12:37 suruozhong 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: 为了能够进行嵌套验证,必须手动在Item实体的props字段上明确指出这个字段里面的实体也要进行验证。由于@Validated不能用在成员属性(字段)上,但是@Valid能加在成员属性(字段)上,而且@Valid类注解上也说明了它支持嵌套验证功能,那么我们能够推断出:@Valid加在方法参数时并不能 阅读全文
posted @ 2019-11-06 11:23 suruozhong 阅读(1654) 评论(0) 推荐(0) 编辑
摘要: 当从后台直接调接口返回数据 直接将数组array赋值给定义的变量,会导致组件无法更改其它值,例如多选框,多选下拉框,会导致无法选中其它的值,也无法取消当前已赋值的选中项 以上代码将会出现问题,页面加载的时候我们已经对infoform里面的array初始化一次了,数组结构已定义,后面直接将数组改变,导 阅读全文
posted @ 2019-10-25 15:56 suruozhong 阅读(6733) 评论(0) 推荐(0) 编辑
摘要: 回退到上个版本 回退到指定版本 git log git reset --hard id... 阅读全文
posted @ 2019-10-25 15:15 suruozhong 阅读(124) 评论(0) 推荐(0) 编辑
摘要: select * from sys_member where create_time >=(NOW() - interval 24 hour) 七天之前的数据 SELECT * FROM commodity_order where create_time <= (now()-INTERVAL 7 DAY) order by create_time desc 阅读全文
posted @ 2019-10-24 11:55 suruozhong 阅读(2508) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页