pattern-library checked

Algolia Highlighting and snippeting

Documents highlighting and snippeting as search UI patterns for showing why a result matched a query, with matched words, highlight attributes, snippets, performance limits, pre/post tags, and sanitization warnings.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Search result highlighting Choose search result highlighting when returned results need visible evidence of where the submitted query matched. A highlight represents the submitted query or configured highlight query, not a decorative emphasis chosen independently from search matching. Algolia documents highlighting and snippeting for explaining why a result matched, including matched words, snippets, pre/post tags, performance limits, and sanitization.

Evidence Role

This source is treated as pattern-library evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Algolia. Last checked: .