我試圖在ES 2.3,Ubuntu 16.4上安裝Hunspell。Hunspell for Elasticsearch
從http://download.services.openoffice.org/contrib/dictionaries/下載的壓縮,解壓縮到ES根/etc/elasticsearch
。詞典位置/etc/elasticsearch/config/hunspell/cs_CZ/cs_CZ.(dic|aff)
。
添加新行indices.analysis.hunspell.dictionary.location: /etc/elasticsearch
到/etc/elasticsearch/elasticsearch.yml
,但 後elasticsearch重啓還是錯誤:
Guice Exception: java.lang.IllegalArgumentException: please, put your hunspell dictionaries under config/hunspell !