[
https://issues.apache.org/jira/browse/LUCENE-7593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751985#comment-15751985
]
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: https://issues.apache.org/jira/browse/LUCENE-7593
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/highlighter
> Affects Versions: 5.x, 5.5.2
> Reporter: Luo Ji
> Labels: fastvectorhighlighter
>
> Example Text:
> ABCDEF
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]