Closed
Description
Highlighters are able to handle text
and keyword
field by reanalyzing their content at search time. However they don't check if the field was ignored at search time due to the ignore_above
option. For instance a keyword
field that is greater than the ignore_above
option would skip indexing but if it is set in an highlighter option, the content will be extracted from _source
and reanalyzed (ignoring ignore_above
option). We should check the ignore_above
option at highlighting time in order to avoid hitting the highlight.max_analyzed_offset
on a field that was ignored at index time.