Legacy Knowledge Base
Published Jul. 2, 2025

Allow users to get accurate search results for public page content when using the common search functionality

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • After publishing to 'Live' and 'Re-indexing', when searching for the public page once again on the staging server, zero results displayed.
  • After configuring 'Remote Staging', the search results which were appropriate earlier have even stopped coming up.

Environment

  • Liferay 7.2

Resolution

  • This is not a generic search issue, but it might be an issue when the layouts are reindexed, the Content Page's group doesn't have an associated stagingGroup, and stagingGroup is set to null. Somehow, the liveGroup is not being saved properly and cannot be recalled with group.getStagingGroup();
  • This has been a complex issue to fix, however, there is a new implementation of an internal crawler that crawls all public pages and provides accurate page content, simulating normal user activity. 
  • This issue is fixed with LPS-124407, which will be available on DXP-11.
  • The fix allows to re-index public content pages. The time for re-indexing all the content depends on the number of pages and is linear.
  • The more pages the more time.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base