2018年9月2日

ES系列十三、Elasticsearch Suggester API(自动补全)

摘要: 1.概念 1.补全api主要分为四类 整体效果类似百度搜索,如图: 2.Term Suggester(纠错补全) 2.1.api 1.建立索引 2.插入数据 3.看下储存的分词有哪些 结果: { "tokens": [ { "token": "lucene", "start_offset": 0, 阅读全文

posted @ 2018-09-02 18:05 小人物的奋斗 阅读(10317) 评论(0) 推荐(2) 编辑

导航