Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6796

Some terms incorrectly highlighted in complex SpanQuery

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 5.3
    • Fix Version/s: 7.3
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Modassar Ather 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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              tallison Tim Allison

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment