infinilabs / analysis-ik

🚌 The IK Analysis plugin integrates Lucene IK analyzer into Elasticsearch and OpenSearch, support customized dictionary.
Apache License 2.0
16.48k stars 3.27k forks source link

failed to find global analyzer [ik_smart] #1061

Open Panigale opened 4 months ago

Panigale commented 4 months ago

依照 elasticsearch 的官方文件從 Features->Extensions->upload extension 中上傳從 https://release.infinilabs.com/ 抓的壓縮包,Create extension 後也有到 Actions->edit deployment->Manage user settings and extensions 中的 extension 勾選 analysis-ik。

但是在嘗試分詞時卻出現 failed to find global analyzer [ik_smart],以下為我的 query(dev tools)

POST /_analyze { "analyzer": "ik_smart", "text": "洛杉矶湖人" }

也有嘗試重新啟動,但看起來依然沒有載入 analysis-ik....

medcl commented 3 months ago

@Panigale have you tried that with your lcoal setup?