legacy-knowledge-base
公開されました Sep. 10, 2025

"リモートクラスタ接続ID "の選択中は、オプションの設定ができません。

written-by

Thanga Meena

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

問題

  • ポータルアップグレード後、DXP 7.3でエラスティックサーチをアップデートする際、「リモートクラスタ接続ID」の選択中にオプションが設定できない。 そして、このアクティビティが実行されると、同じ時間帯に以下のエラーが発生します。
  • 2021-09-15 01:57:37.319 ERROR [liferay/scheduler_dispatch-2][ElasticsearchIndexSearcher:165] java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ratings] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ratings] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]];

Environment

  • Liferay DXP 7.3
  • ES 7

解決策

  • Liferay DXPのアップグレード後、検索エクスペリエンスをアップグレードするための追加ステップがあります。 Liferay ドキュメント "Upgrading Search for Liferay 7.3" には、前提条件、構成、考慮すべき点、ベストプラクティスなどが記載されており、構成手順は既存の検索エンジンインストールと Liferay バージョンに依存するので、参照してください。

    Note: Please ensure you’ll always want to start by backing up your existing indexes.

  • 次に、 アップグレード後、検索インデックスを無効にしている場合、検索インデックスの再作成はほとんどのアップグレードで必要ですが、SPの適用や同じLiferayバージョン内で新しいGA(ローリングリリース)へのアップグレードなどいくつかの状況では通常必要ありません。 したがって、 既存のインデックスをバックアップした後に、すべての検索インデックスのフルリインデックスを実行します。
  • 上記で提案されたインデックスを再作成する手順:
    • グローバルメニューをクリックします。
    • コントロールパネル -> 設定 -> 検索 -> インデックスアクションのタブをクリックします。
    • すべての検索インデックスを再インデックスする」オプションの横にある実行ボタンをクリックします。
    • 完了すると、成功メッセージを表示します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base