Lucene - Core
  1. Lucene - Core
  2. LUCENE-627

highlighter problems with overlapping tokens

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: core/other
    • Labels:
      None

      Description

      The lucene highlighter has problems when tokens that overlap are generated.

      For example, if analysis of iPod generates the tokens "i", "pod", "ipod" (with pod and ipod in the same position),
      then the highlighter will output this as iipod, regardless of if any of those tokens are highlighted.

      Discovered via http://issues.apache.org/jira/browse/SOLR-24

      1. highlight_overlap.diff
        18 kB
        Yonik Seeley
      2. Highlighter.java.diff
        2 kB
        Kerang Lv

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development