Skip to main content
The highlightPostTag parameter defines the HTML tag inserted after the matching text in highlighted attributes. It works in combination with highlightPreTag, which marks the beginning of the highlighted portion.

Usage

  • Set an empty string ("") to fallback to the default tag.
  • To turn off highlighting, remove the searchable attribute with the attributesToHighlight parameter.

Examples

Set default tag

Current API clients

Current API clients

Last modified on May 19, 2026