Exclude Certain DITA Topics from WebHelp Search Results

The WebHelp Search engine does not index DITA topics that have the @search attribute set to no. This is useful if you have topics in your DITA map structure that you do not want to be included in search results for your WebHelp system.

To exclude DITA topics from WebHelp search results, follow these steps:

  1. Edit the DITA map and for any topicref that you want to exclude from search results, set the search attribute to no.
    For example:
    <topicref href="../topics/internal-topic1.dita" search="no"/>
  2. Save your changes to the DITA map.
  3. Re-run your WebHelp system transformation scenario.

Was this helpful?