You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/01/11 03:26:00 UTC

[jira] [Resolved] (LUCENE-6796) Some terms incorrectly highlighted in complex SpanQuery

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

David Smiley resolved LUCENE-6796.
----------------------------------
       Resolution: Duplicate
    Fix Version/s: 7.3

> Some terms incorrectly highlighted in complex SpanQuery
> -------------------------------------------------------
>
>                 Key: LUCENE-6796
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6796
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>    Affects Versions: 5.3
>            Reporter: Tim Allison
>            Assignee: David Smiley
>            Priority: Trivial
>             Fix For: 7.3
>
>         Attachments: LUCENE-6796-testcase.patch
>
>
> [~modassar] initially raised this on LUCENE-5205.  I'm opening this as a separate issue.
> If a SpanNear is within a SpanOr, it looks like the child terms within the SpanNear query are getting highlighted even if there is no match on that SpanNear query...in some special cases.  Specifically, in the format of the parser in LUCENE-5205 {{"(b [c z]) d\"~2"}}, which is equivalent to: find "b" or the phrase "c z" within two words of "d" either direction
> This affects trunk. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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