ElasticSearch5.1.1使用自定義詞庫

ElasticSearch使用自定義詞庫 使用自定義詞庫,我們需要首先找到配置文件: 路徑:D:\elasticsearch-5.1.1\plugins\analysis-ik\config   然後打開我們的配置文件: IKAnalyzer.cfg.xml   比如我要把聖誕果作爲一個詞寫入自定義分詞器:   那麼我們打開: D:\elasticsearch-5.1.1\plugins\anal
相關文章
相關標籤/搜索