You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ferenczi Jim (JIRA)" <ji...@apache.org> on 2016/11/10 20:01:58 UTC

[jira] [Closed] (LUCENE-7552) FastVectorHighlighter ignores position in PhraseQuery

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

Ferenczi Jim closed LUCENE-7552.
--------------------------------
    Resolution: Duplicate

> FastVectorHighlighter ignores position in PhraseQuery
> -----------------------------------------------------
>
>                 Key: LUCENE-7552
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7552
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/search
>            Reporter: Ferenczi Jim
>            Priority: Minor
>
> The PhraseQuery contains a list of terms and the positions for each term. The FVH ignores the term position and assumes that a phrase query is always dense. As a result phrase query with gaps are not highlighted at all. This is problematic for text fields that use a FilteringTokenFilter. This token filter removes tokens but preserves the position increment of each removal. 
> Bottom line is that using this token filter breaks the highlighting of phrase query that contains filtered tokens.
>  



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