创新实训(46)——基于ElasticSearch的Completion Suggest实现搜索提示
前言现在来重新建立索引,然后实现搜索提示。建立索引并重新抽取数据PUT/articles2{"mappings":{"doc":{"properties":{"content":{"type":"text","fields":{"suggest":{"type":"completion","analyzer":"ik_max_word"},"keyword":{"type":"keyword","