legacy-knowledge-base
公開されました Jun. 30, 2025

Elasticsearch プラグインをオフライン モードでインストールする方法

written-by

Georgel Pop

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 本番環境にインターネット接続がなく、必要な Elasticsearch プラグインをオフライン モードでインストールしたい場合があります。
    analysis-icu, analysis-kuromoji, analysis-smartcn, analysis-stempel

Environment

  • DXP7.0以上

解決策

  • analysis-icu 例として、オフラインでインストールする方法を説明します (詳細については、 Elasticsearch のインストールを参照してください)。
  • 最初に、上記の URL の xxx (例: 7.17.9) を、使用する正確な Elasticsearch バージョンに置き換えて、正しいプラグイン バージョンをダウンロードする必要があります: https://artifacts.elastic.co/downloads/elasticsearch-プラグイン/分析-icu/分析-icu-xxxzip
  • ダウンロードしたら、このプラグインをサーバーに追加し、このコマンドを使用してオフラインでインストールします ${/path/to/plugin.zip} を正しいパスに置き換えます。
    • Linux OS:
      sudo bin elasticsearch plugin install file://${/path/to/plugin.zip}
    • Windows OS:
      bin\elasticsearch-plugin install file:///${C:/path/to/plugin.zip}

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base