Page 1 of 1

Exclude topics not referenced in the ditamap from the search.

Posted: Tue Jun 17, 2025 6:55 am
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.

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

Posted: Wed Jun 18, 2025 11:32 am
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

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

Posted: Fri Jun 20, 2025 4:53 am
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,

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

Posted: Fri Jun 20, 2025 11:53 am
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