How to Display Custom Title in Search Results
It is possible to display a custom title for topics in the search results
page. This can be achieved by adding the <searchtitle>
element inside
the particular DITA topic (or within the topic reference in the DITA map). The
<searchtitle>
element is used to specify the title that is displayed
by search tools that locate the topic. This is useful when the topic has a title that makes
sense in the context of a single information set, but may be too general in a list of search
results. If the <searchtitle>
is specified, then the search results
page will display the contents inside the <searchtitle>
as the topic
title.
For details about the <searchtitle>
element
(including an example), see https://docs.oasis-open.org/dita/v1.2/os/spec/langref/searchtitle.html.