Exclude a Topic from Search
You can set up topics to be included in your HTML5 output, but not to appear as results in the search. This way you make your search more useful by only including more detailed topics that give your users the information they need.
Release notes are often excluded from the search results because they are useful to have in your documentation, but they rarely provide enough detail.
Tip
You can also exclude topics from the navigation sidebar (also known as the TOC), see Exclude Content from Publication TOC.
To exclude a topic from the search results:
Add the
roleattribute in the Element Attributes Panel and set the value tonotinsearch.
Note
The
roleattribute is not inherited. If you have different levels of topics, you need to add theroleto all of the sections that you want to exclude from the search, not just thesectionof the top-level topic.
When you publish the topic to your HTML5 help center, the search will not include the topic in its results.


