Feature "Search result highlighting"
C0051600258
Jump to navigation
Jump to search
|
By specifying highlight.no_match_size: 100
the hit.highlight
section will feature all fields specified under highlight.fields
even if some/all o these fields don't feature highlighted snippets. This has the following advantages:
- no _source/highlight conditionals in .pug
- truncation to beginning max 100