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:59:58 UTC

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

     [ https://issues.apache.org/jira/browse/LUCENE-7593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luo Ji updated LUCENE-7593:
---------------------------
    Description: 
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

  was:
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


> 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



--
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