随笔分类 -  elasticsearch

摘要:添加pom <!--elasticsearch--> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <ver 阅读全文
posted @ 2020-01-14 11:01 suruozhong 阅读(7040) 评论(1) 推荐(1) 编辑
摘要:先写个标题,慢慢更新 默认的词库就算最小细粒度分词,很多名词也不会单字分词 比如:阿迪达斯,在IK是一个词,搜索每个字的单字关键词是无结果的,必须搜索阿迪达斯才有结果 所以我们需要扩展词库 IK官方教程 https://github.com/medcl/elasticsearch-analysis- 阅读全文
posted @ 2019-11-18 11:51 suruozhong 阅读(1104) 评论(0) 推荐(0) 编辑
摘要:添加pom <!--elasticsearch--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </ 阅读全文
posted @ 2019-11-16 16:29 suruozhong 阅读(837) 评论(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 阅读(286) 评论(0) 推荐(0) 编辑
摘要:安装jdk环境,自行百度 安装elasticsearch 下载 https://www.elastic.co/cn/downloads/elasticsearch 我目前使用的版本,包含分词插件 链接: https://pan.baidu.com/s/1gJX20Gy3TbgCNvxNl8jbLA 阅读全文
posted @ 2019-11-14 11:49 suruozhong 阅读(165) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示