- Type:
list<string>
- Default:
null
(all searchable attributes) - Scope:
settings,search
Usage
- By default, all searchable attributes are highlighted.
- The special value
*
may be used to highlight all attributes. - Pass an empty array (
[]
) to turn off highlighting. - Algolia highlights the first 50,000 characters of the whole result set (5,000 logograms for CJK languages). This limit prevents impacting the user experience by ensuring a fast response time even with large results.
- When highlighting is enabled, each hit in the response contains a
_highlightResult
object. - When enabled, each hit includes a
_highlightResult
object with metadata about the matches.
_highlightResult
Examples
Current API clients
Current API clients