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

FastVectorHighlighter SimpleBoundaryScanner does not work well when highlighting at the beginning of the text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The SimpleBoundaryScanner still breaks text not based on characters provided when highlighting text that end up scanning to the beginning of the text to highlight. In this case, just use the start of the text as the offset.

        Attachments

        1. LUCENE-3697.patch
          2 kB
          Koji Sekiguchi
        2. LUCENE-3697.patch
          2 kB
          Shay Banon

          Activity

            People

            • Assignee:
              koji Koji Sekiguchi
              Reporter:
              kimchy Shay Banon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: