03 2019 档案

摘要:分词测试 分词后倒排索引结果:可以通过http://127.0.0.1:9200/_analyze 测试 { "analyzer":"ik_max_word", "text":"我爱广州小蛮腰" } match匹配 1.match会条件分词去索引里面找 命中一个满足就返回 插入2条测试数据 文档1: 阅读全文
posted @ 2019-03-22 18:28 意犹未尽 阅读(5793) 评论(0) 推荐(0) 编辑
摘要:全量 可使用或者参考easy-es org.dromara.easyes.starter.service.impl.AutoProcessIndexSmoothlyServiceImpl#doUpdateIndex 数据源 改为读取可采用读取数据库表 private boolean doUpdate 阅读全文
posted @ 2019-03-20 18:45 意犹未尽 阅读(1803) 评论(0) 推荐(0) 编辑
摘要:Completion Suggester 智能提示 { "settings": { }, "mappings": { "doc": { "properties": { "productName": { "type" : "text", "analyzer":"ik_max_word" }, "pro 阅读全文
posted @ 2019-03-18 15:04 意犹未尽 阅读(934) 评论(0) 推荐(0) 编辑
摘要:参考: https://blog.csdn.net/zyc88888/article/details/83016513 实际还是建议看官网https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregatio 阅读全文
posted @ 2019-03-15 20:09 意犹未尽 阅读(760) 评论(0) 推荐(0) 编辑

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