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

一般的な検索機能を使用するときに、ユーザーが公開ページ コンテンツの正確な検索結果を取得できるようにする

written-by

Kanchan Bisht

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

問題

  • 「ライブ」および「再インデックス」に公開した後、ステージング サーバーで公開ページをもう一度検索すると、結果が表示されませんでした。
  • 「リモート ステージング」を設定した後、以前は適切だった検索結果も表示されなくなりました。

Environment

  • Liferay 7.2

解決策

  • これは一般的な検索の問題ではありませんが、レイアウトが再インデックス化され、コンテンツ ページのグループに stagingGroup が関連付けられておらず、stagingGroup が null に設定されている場合に問題になる可能性があります。 どういうわけか、liveGroup が適切に保存されておらず、group.getStagingGroup(); で呼び出すことができません。
  • これは修正が難しい問題でしたが、すべての公開ページをクロールして正確なページ コンテンツを提供し、通常のユーザー アクティビティをシミュレートする内部クローラーの新しい実装があります。
  • この問題は LPS-124407で修正され、 DXP-11で利用可能になります。
  • この修正により、パブリック コンテンツ ページの再インデックスが可能になります。 すべてのコンテンツの再インデックス作成にかかる時間は、ページ数によって異なり、直線的です。
  • ページ数が多いほど時間がかかります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base