Complex Search

In the content library,you can search for terms in specific DITA elements and attributes.


By default, Heretto CCMS searches for a term in the following DITA elements and attributes:

  • concept body element
  • glossary definition element
  • glossary term element
  • keyword element
  • paragraph element
  • prolog element
  • reference body element
  • short description element
  • task body element
  • title element
  • ID attribute

Search Strings

You use search strings to find matches in specific DITA elements or attributes.
Note: You use the Lucene Query Parser Syntax to compose Heretto CCMS search strings. By default, Heretto CCMS returns fuzzy matches. If you want to refine search results, you can use search operators.
Table 1. Searchable DITA Elements

By default, you can restrict your search for a term in a specific element. The available options may vary based on your configuration.

DITA ElementsSearch String Format
keyword elements__content_keyword:example
glossary term element__content_glossterm:example
glossary definition element__content_glossdef:example
prolog element__content_prolog:example
short description element__content_shortdesc:example
concept body element__content_conbody:example
reference body element__content_refbody:example
task body element__content_taskbody:example
paragraph element__content_para:example
title elementtitle:example
Table 2. Searchable Metadata

By default, you can search for the following metadata items.

MetadataSearch String Format
Owned By__document_owner:username
Broken Links__has_broken_links:true/false
Custom Metadata__taxonomyName:example
Table 3. Searchable Attributes

By default, you can search for ID attribute values.

AttributeSearch String
ID attributeexample

Complex Search Examples

The following string searches for “the word users in short description elements.
The following string searches for the words enables users to in short description elements.
__content_shortdesc:"enables users to"
The following string searches for the word users in short description elements and the word enables in concept body elements.
__content_shortdesc:users __content_conbody:enables
The following string searches for non-approved topics that also contain the word user in title elements.

The NOT operator excludes the search term that follows it.

title:user NOT status:approved