-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search Relevance/HighlightingHow a query matched a documentHow a query matched a document>enhancementTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch
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.
mayya-sharipova
Metadata
Metadata
Assignees
Labels
:Search Relevance/HighlightingHow a query matched a documentHow a query matched a document>enhancementTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch