Page 1 of 1

Hiding indexterms from the index

Posted: Thu Jun 06, 2019 3:40 pm
by kfarley287
Hello,

We are using indexterms to both create our index and optimize our search results for topics. Is there an attribute or another way to hide indexterms that we are adding as search terms from the index?

(ie: we may want "optimization, indexterms, Extrude" as a indexterm/search term, but we do not want it to appear in the index)

Re: Hiding indexterms from the index

Posted: Fri Jun 07, 2019 3:19 pm
by Costin
Hello,

If you have some terms that you want to be used by the search engine for search optimization, but do not want the, to appear in the indexterms list, then you must use the DITA <keywords> element instead of index terms.
The list of keywords from the <keywords> element are included in the metadata of the XHTML pages generated for each topic.

More details on keywords available at:
http://dita-archive.xml.org/soapbox-keywords
https://docs.oasis-open.org/dita/v1.0/l ... yword.html
https://www.oxygenxml.com/dita/1.3/spec ... yword.html

Regards,
Costin