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

Elasticsearch エラー - 一括実行と解析の失敗

written-by

Kenny Back

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 をアップグレードしました。JournalArticles を再インデックスしようとすると、次の Elasticsearch エラーが表示されます。
ERROR: = failure in bulk execution [liferay-12345], type [LiferayDocumentType], 
id [com.liferay.journal.model.JournalArticle_PORTLET_12345], message [Sanitized]
[ElasticsearchException] [type=mapper_parsing_exception] = failed to parse
[icu_collation_keyword] for [ddmFieldValueKeyword_en_US_String_sortable]]]]_[0]: index

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3
  • DXP 7.4

解決策

  • 'Parse' および 'Failure in Bulk' 例外は、多くの場合、Elasticsearch と一緒に通常インストールされる Elasticsearch アナライザー プラグインに関連しています。 それらをリセットするには、次の手順を実行します。

    1. すべての Elasticsearch ノードで アナライザー をアンインストールしてから再インストールします。
    2. Elasticsearch を再起動します。
    3. Liferay 内部キャッシュをクリアします。 (参照:コントロール パネル > サーバー管理 > キャッシュ アクション > つのオプションすべてを実行)
    4. Liferay を再起動します。
    5. インデックスを再作成します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base