OpenSearch/modules/mapper-extras/src
Jim Ferenczi c340814b34 Fix highlighting of overlapping terms in the unified highlighter (#47227)
The passage formatter that the unified highlighter use doesn't handle terms with overlapping offsets.
For tokenizer that provides multiple segmentation of the same terms (edge ngram for instance) the formatter
should select the largest span in order to highlight the term only once. This change implements this logic.
2019-10-02 16:34:12 +02:00
..
main/java/org/elasticsearch/index Add mapper-extras and the RankFeatureQuery in the hlrc (#43713) 2019-08-14 18:41:39 +02:00
test Fix highlighting of overlapping terms in the unified highlighter (#47227) 2019-10-02 16:34:12 +02:00