You can configure highlighting on any meta, but it mostly applies to the
text and title metas, as they allow users to quickly
identify whether the hit is interesting or not.
By default when searching with a prefix handler, the matching terms are only highlighted in
the hit meta of the same name.
Using the title: Prefix Handler, Matches are only highlighted in the
Title Text.
You can, however, associate extra prefix handlers and facets for highlighting matching
terms.
This is the case of the title hit meta, which is pre-configured with
additional prefix handlers. This means that matching terms are highlighted in a document’s
title when:
Searching with the title: prefix handler. This is the default behavior
described above.
Searching with one of these prefix handlers: text:,
soundslike:, or spellslike:. These are specified in
the title hit meta setup as extra prefix handlers.
Using the text: Prefix Handler, which is an extra Prefix Handler
for the title Hit Meta, Matches are highlighted in the Title, as well
as in the Summary Text.
Deactivating the Highlighting for a Subquery Node
In specific use cases, you may want to disable the highlighting and the summary for a
specific node of your query only. In other words, you want the highlighting/summary to be
activated for the overall query and deactivated for a subpart of it.
This can be specified in both UQL and ELLQL languages by appending the
{hl=0} parameter to the node that must not be highlighted. For example,
to highlight New York but not city in the UQL query
New York city, we can enter the following query: New York
city{hl=0}
Note:
You could also change the query template in Search > Search Logics >
Your search logic > Query Template, to exclude a subquery node globally by
appending the {hl=0} parameter to #query