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

DXP 7.0 Fix Pack 70: Connector to Elasticsearch 6 と Solr 5 Search Engine の互換性の変更とデプロイメントノート

written-by

Tibor Lipusz

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 DXP 7.0 Fix Pack 70 および SP10 には、 LPS-79348、 LPS-78857 および LPS-80931の修正が含まれています。

変更の一部 ( LPS-78857) は、新しい API を com.liferay.portal.search.api モジュールに追加しました。

サーチコネクタの導入による影響

上記の意味で、Fix Pack 70+ または SP10+ のインストールでは、以下の Marketplace アプリケーション が使用中であれば、新しいバージョンをデプロイする必要もあります。

(デフォルトの com.liferay.portal.search.elasticsearch コネクタは修正パックの一部として更新されています)。

パッチレベルの要件/ポータルの互換性

  • Liferay Connector to Elasticsearch 6
    • 1.0.0: DXP 7.0 FP42~FP69およびSP9
    • 1.0.1 :DXP 7.0 FP70またはSP10
  • Liferay Solr 5 検索エンジン
    • 1.0.0: DXP 7.0 GA1~FP34
    • 1.0.1:DXP 7.0 FP35~FP69とSP9
    • 1.1.1 : DXP 7.0 FP70 または SP10

トラブルシューティング

Fix Pack 70 /SP10 をインストールしなかったり、前述の Marketplace アプリケーションの最新バージョンを展開しなかったりすると、さまざまなエラーが発生する可能性があります。 以下、想定されるシナリオとその症状を参考にしてみてください。

すべてのケースで解決:アプリケーションの最新バージョンを使用していることと、現在のパッチレベルが上記の要件を満たしていることを確認してください。

Fix Pack 69 以下で動作する DXP 7.0 で Elasticsearch 6 1.0.1 への Connector のデプロイ

ポータルでは、起動時またはコネクタのデプロイ時に以下のエラーが発生します。

29-Jan-2019 09:46:56.788 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
java.lang.RuntimeException: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG validation failed with {[missing requirement com.liferay.portal.search.elasticsearch6.api; version=1.0.4; type=osgi.bundle [caused by: Unable to resolve com.liferay.portal.search.elasticsearch6.api version=1.0.4: missing requirement &(osgi.ee=JavaSE)(version=1.8)]], [missing requirement com.liferay.portal.search.elasticsearch6.impl; version=1.0.20; type=osgi.bundle [caused by: Unable to resolve com.liferay.portal.search.elasticsearch6.impl version=1.0.20: missing requirement com.liferay.petra.string; version=[1.0.0,2.0.0)]]}

DXP 7.0修正パック70/SP10でElasticsearch 6 1.0.0.0へのコネクタの使用

検索ポートレットから検索した結果は見つかりませんでした。 ログにエラーはありません。

Fix Pack 69以下で動作するDXP 7.0にSolr 5 Search Engine 1.1.1を導入する

ポータルでは、起動時またはコネクタのデプロイ時に以下のエラーが発生します。

09:54:16,544 ERROR [Framework Event Dispatcher: Equinox Container: 80dd989a-ab23-0019-110a-f83482724d69][com_liferay_portal_search_solr:97] FrameworkEvent ERROR 
org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.solr [504]_ Unresolved requirement: Import-Package: com.liferay.portal.kernel.search; version="[7.3.0,8.0.0)"_ [Sanitized]
at org.eclipse.osgi.container.Module.start(Module.java:429)

DXP 7.0 Fix Pack 70/SP10でSolr 5 Search Engine 1.0.1以下の場合

検索ポートレットから検索した結果は見つかりませんでした。 ログにエラーはありません。

did-this-article-resolve-your-issue

legacy-knowledge-base