You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Luo Ji (JIRA)" <ji...@apache.org> on 2016/12/15 05:58:58 UTC

[jira] [Created] (LUCENE-7593) FastVectorHighlighter Overlapping Queries Do Not Highlight

Luo Ji created LUCENE-7593:
------------------------------

             Summary: 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.5.2, 5.x
            Reporter: Luo Ji


Example Text:
ABCDEF

Example Query:
AB and 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org