Legacy Knowledge Base
Published Jul. 2, 2025

Hide Content Page Fragments from Search Results

Written By

Katlyn Lee

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

  • I want to exclude fragments on a Content Page from Search Results.
  • Example Use Case: Having a footer fragment in each Content Page that contains the company's contact information. I do not want to include the content of each footer fragment in the search results. 

Environment

  • DXP 7.2

Resolution

This solution is currently only applicable for customers with an Enterprise Subscription. 

  • LPS-122261 adds the ability to hide a content from Search Results.
  • For customers with an Enterprise Subscription, open a Help Center ticket and request for a hotfix with LPS-122261. After installing the hotfix, follow these steps:

    1. Click on the Section element that is encompassing the Paragraph element
    2. Click on the Cog named Spacing
    3. Check "Hide Content from Search Results"

    Screenshot_from_2021-01-15_17-01-50.png

    After performing those steps, searching for a value in the paragraph will not longer populate the search results.

Additional Information

  • Currently a solution applicable for DXP 7.3 is in development. Track its progress here: LPS-120174 

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base