legacy-knowledge-base
Publicado Jul. 25, 2002

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

learn-legacy-article-disclaimer-text

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