product-example checked
Elasticsearch Search API highlighting
Documents retrieving highlighted snippets from one or more fields so users can see where a query matches, including fragments, field configuration, highlighter types, and cautions for complex boolean queries.
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. | Elastic documents highlighted fragments per search hit and cautions that complex query logic may produce highlights that do not map exactly to all query conditions. |
Evidence Role
This source is treated as product-example evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: Elastic. Last checked: .