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

PostingsHighlighter fails with IndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5, 6.0
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Given a document with a match at a startIndex < PostingsHighlighter.maxlength and an endIndex > PostingsHighlighter.maxLength, DefaultPassageFormatter will throw an IndexOutOfBoundsException when DefaultPassageFormatter.append() is invoked.

        Attachments

        1. LUCENE-5166.patch
          5 kB
          Robert Muir
        2. LUCENE-5166.patch
          6 kB
          Michael McCandless
        3. LUCENE-5166.patch
          4 kB
          Robert Muir
        4. LUCENE-5166.patch
          4 kB
          Robert Muir
        5. LUCENE-5166.patch
          6 kB
          Robert Muir
        6. LUCENE-5166.patch
          4 kB
          Manuel Amoabeng
        7. LUCENE-5166-2.patch
          4 kB
          Manuel Amoabeng
        8. LUCENE-5166-revisited.patch
          3 kB
          Manuel Amoabeng

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mamoabeng Manuel Amoabeng
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: