legacy-knowledge-base
公開されました Jul. 2, 2025

フィールド名として地理位置情報を使用した移行後のサポートされていないシンボル エラー

written-by

Rodrigo Mier

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

問題

  • 「ジオロケーション」という単語は、Liferay Portal 6.2 では予約語ではありませんが、DXP では予約語です。
  • Liferay Portal 6.2 のフィールド名が「geolocation」の場合、DPX へのアップグレード後に次のような Elasticsearch エラーが生成される可能性があります。

  • ERROR [liferay/search_writer/SYSTEM_ENGINE-76][BulkDocumentRequestExecutorImpl:53] failure in bulk execution:_[1]: index [liferay-842907], type [LiferayDocumentType], id [com.liferay.journal.model.JournORTLET_7863163], message [MapperParsingException[failed to parse field [ddm__keyword__879923__geolocation] of type [geo_point]
  • このフィールドを持つ構造は機能しません

Environment

  • ライフレイ DXP 7.0、7.1、7.2

解決策

  • このフィールドにはラベル "localizable":falseがあるため、この動作が原因です。
  • このエラーを回避するには、 localizable というラベルを true として定義する必要があります:
    "localizable":true

did-this-article-resolve-your-issue

legacy-knowledge-base