c340814b34
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. |
||
---|---|---|
.. | ||
main/java/org/elasticsearch/index | ||
test |