随笔分类 - elasticsearch
摘要:添加pom <!--elasticsearch--> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <ver
阅读全文
摘要:先写个标题,慢慢更新 默认的词库就算最小细粒度分词,很多名词也不会单字分词 比如:阿迪达斯,在IK是一个词,搜索每个字的单字关键词是无结果的,必须搜索阿迪达斯才有结果 所以我们需要扩展词库 IK官方教程 https://github.com/medcl/elasticsearch-analysis-
阅读全文
摘要:添加pom <!--elasticsearch--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </
阅读全文
摘要:https://www.cnblogs.com/xiaojianfeng/p/9435507.html Node安装配置 第一步:下载Node 第二步:解压下载的Node包 第三步:配置node和npm 注意:node所在目录,我的node目录是/usr/local/node-v10.13.0-li
阅读全文
摘要:在常用的中文分词器、拼音分词器、繁简体转换插件。国内用的就多的分别是:elasticsearch-analysis-ikelasticsearch-analysis-pinyinelasticsearch-analysis-stconvert 下载版本对应es版本 将下载后的文件放到el的plugi
阅读全文
摘要:安装jdk环境,自行百度 安装elasticsearch 下载 https://www.elastic.co/cn/downloads/elasticsearch 我目前使用的版本,包含分词插件 链接: https://pan.baidu.com/s/1gJX20Gy3TbgCNvxNl8jbLA
阅读全文