Open2

elasticsearchプラグインの更新

not75743not75743

一覧

elasticsearchのバージョンとプラグインのバージョンが異なると教えてくれる

$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin list
analysis-icu
WARNING: plugin [analysis-icu] was built for Elasticsearch version 7.17.8 but version 7.17.10 is required
analysis-kuromoji
WARNING: plugin [analysis-kuromoji] was built for Elasticsearch version 7.17.8 but version 7.17.10 is required

アンインストール

$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin remove analysis-icu
-> removing [analysis-icu]...

インストール

$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
-> Installing analysis-icu
-> Downloading analysis-icu from elastic
[=================================================] 100%
-> Installed analysis-icu
-> Please restart Elasticsearch to activate any plugins installed

$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin list
analysis-icu
analysis-kuromoji
WARNING: plugin [analysis-kuromoji] was built for Elasticsearch version 7.17.8 but version 7.17.10 is required

OK