elasticsearch/elasticsearch — Issue #1577: Highlighter: Add require_field_match (both global and per field) option
Author: kimchy
Created: 2011-12-29 23:59:55+00:00
State: closed
Labels: enhancement, v0.19.0

`require_field_match` can be set to `true` which will cause a field to be highlighted only if a query matched that field. `false` means that terms are highlighted on all requested fields regardless if the query matches specifically on them