lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7593) FastVectorHighlighter Overlapping Queries Do Not Highlight
Date Thu, 15 Dec 2016 17:42:58 GMT


David Smiley commented on LUCENE-7593:

Hi Luo; thanks for reporting this problem.  If you can supply a patch that fixes the problem
with a test, I'd take a look.

I've been working on the UnifiedHighlighter (introduced in Lucene 6.3) and it doesn't suffer
from this problem.  Might you ascertain if the UH addresses your highlighting needs, and if
not let me/us know what's needed?

> FastVectorHighlighter Overlapping Queries Do Not Highlight
> ----------------------------------------------------------
>                 Key: LUCENE-7593
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>    Affects Versions: 5.x, 5.5.2
>            Reporter: Luo Ji
>              Labels: fastvectorhighlighter
> Example Text:
> Example Query:
> AB or ABC
> I got two terms hit, (AB, startOffset=0, endOffset=2, weight=4), (ABC, startOffset=0,
endOffset=3, weight=5), in FieldPhraseList's constructor, line 103, addIfNoOverlap, only (AB)
were highlighted, and (ABC) with higher weight had been dropped because offset overlapping

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message