ElasticSearch5.1.1使用自定义词库

ElasticSearch使用自定义词库 使用自定义词库,我们需要首先找到配置文件: 路径:D:\elasticsearch-5.1.1\plugins\analysis-ik\config   然后打开我们的配置文件: IKAnalyzer.cfg.xml   比如我要把圣诞果作为一个词写入自定义分词器:   那么我们打开: D:\elasticsearch-5.1.1\plugins\anal
相关文章
相关标签/搜索