[
https://issues.apache.org/jira/browse/LUCENE-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison updated LUCENE-6796:
--------------------------------
Description:
[~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.
was:
[~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 cases.
> 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
> Priority: Trivial
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]