es7千人前面
啊桑桑
这个作者很懒,什么都没留下…
展开
-
11相关性重塑
原创 2020-07-19 19:24:11 · 173 阅读 · 0 评论 -
第8章 ElasticSearch7高端进阶【分布式搜索引擎进阶学习】 8-6查询语句进阶(2)
原创 2020-07-11 18:48:46 · 192 阅读 · 0 评论 -
es7 11-1定制化分词之扩展词库
更新原创 2020-04-13 15:34:34 · 331 阅读 · 0 评论 -
es7 10-10 java搜索接入
低价排序模型只影响召回 不影响排序 使用replace# 低价排序GET shop/_search{ "_source": "*", "script_fields": { "distance": { "script": { "source": "haversin(lat,lon,doc['location'].lat,doc['locati...原创 2020-04-13 14:58:23 · 781 阅读 · 0 评论 -
es7 10-4 门店搜索4
# 使用function score解决排序模型# tf-idf 打分和function score 做融合GET shop/_search{ "_source": "*", "script_fields": { "distance": { "script": { "source": "haversin(lat,lon,doc['location...原创 2020-04-13 14:25:14 · 143 阅读 · 0 评论 -
es7【9-4 IK分词器构建】
ik_max_word: 会将文本做最细粒度的拆分,会穷尽各种可能的组合 ik_smart: 会做最粗粒度的拆分 smart 能拆分出来的 max_word一定能拆分出来原创 2020-04-12 17:53:59 · 314 阅读 · 0 评论 -
es7【8-16自定义score】
GET /movie/_search{ "query": { "function_score": { // 原始查询得到的oldScore "query": { "multi_match": { "query": "steve job", "operator": "or", ...原创 2020-04-12 17:12:31 · 359 阅读 · 0 评论 -
es7千人前面【8-15过滤与排序】
term查询精确查询, 小写的话能匹配到,改成大写就查不到standard分词器 分割并全部转小写它们之间是and关系must中没有符合条件的 整个bool查询就为空。should和filter一起使用 should控制打分参数 filter控制过滤...原创 2020-04-12 16:12:17 · 425 阅读 · 0 评论