lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luo Ji (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-7593) FastVectorHighlighter Overlapping Queries Do Not Highlight
Date Thu, 15 Dec 2016 06:06:58 GMT

     [ 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 because offset overlapping

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


> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message