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