Hiding indexterms from the index

Post here questions and problems related to editing and publishing DITA content.
kfarley287
Posts: 1
Joined: Wed Jun 05, 2019 7:53 pm

Hiding indexterms from the index

Post 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)
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Hiding indexterms from the index

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply