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