Exclude topics not referenced in the ditamap from the search.

Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
katzoo1091
Posts: 2
Joined: Tue Jun 17, 2025 6:36 am

Exclude topics not referenced in the ditamap from the search.

Post by katzoo1091 »

Hi,

We want to exclude topics that are not referenced in the DITAMAP from the webhelp search results.
I found a similar inquiry. It is as follows.
"Excluded topics show up in search results"
dita-editing-and-publishing-dita-conten ... 18271.html

Has this issue been resolved?
If so, please tell me how you resolved it.
marius
Posts: 57
Joined: Thu Mar 05, 2009 11:44 am

Re: Exclude topics not referenced in the ditamap from the search.

Post by marius »

Hello,

There are two ways to exclude topics from search results, as described here. If neither of these methods works for you, please provide more details about your use case, your Oxygen product, and the version you are using. Additionally, a small valid sample (a DITA map and a few topics) will help us expedite the investigation.

Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
katzoo1091
Posts: 2
Joined: Tue Jun 17, 2025 6:36 am

Re: Exclude topics not referenced in the ditamap from the search.

Post by katzoo1091 »

Hi Marius,

Thank you for showing the solution.
These two methods require narrowing down the file name and specifying the topicref attribute, and are not based on the existence or non-existence of the topic according to ditaval, so they are unlikely to be applicable in practice.

Currently, is it correct to assume that there are no parameters that will allow you to exclude topics that are excluded based on ditaval from your search results?

Regards,
marius
Posts: 57
Joined: Thu Mar 05, 2009 11:44 am

Re: Exclude topics not referenced in the ditamap from the search.

Post by marius »

Hi,

The topics excluded by ditaval filters should not be present in the output folder, and therefore they will not appear in the search results. Please ensure that you start with a clean output folder before performing the transformation. You can do this either by manually cleaning the output folder or by setting the "clean.output" transformation parameter to "yes."

Please let us know if the issue persists after performing this step.

Best regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
Post Reply