![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
elasticsearch
文章平均质量分 84
不秃头的小黄人
这个作者很懒,什么都没留下…
展开
-
ElasticSearch IK分词器配置远程词典
ElasticSearch IK分词器配置远程词典1.在线安装IK分词器2.IK分词器的弊端3.解决措施,配置远程词典实时更新补充1.在线安装IK分词器ElasticSearch中默认的分词器是standard,该分词器对中文按字分词,对英文按单词分词GET /_analyze{ "text": "我是一个杠精,hello world!"}结果{ "tokens" : [ { "token" : "我", "start_offset" : 0,原创 2021-08-09 16:11:54 · 3099 阅读 · 0 评论 -
ElasticSearch Query查询(DSL方式) 高亮查询,布尔查询...
文章目录1.查询所有2.指定字段查询3.布尔查询并且指定字段4.多id查询(ids)5. 模糊查询(fuzzy)6.高亮(HighLight)查询7.多字段查询8.多字段分词查询测试数据## 文档操作PUT /ems{ "mappings":{ "emp":{ "properties":{ "name":{ "type":"text" }, "age":{ "type":"integer"原创 2021-08-09 12:39:40 · 785 阅读 · 0 评论