Feature "Search result highlighting"

From dataspects::Wiki
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:

  1. no _source/highlight conditionals in .pug
  2. truncation to beginning max 100