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

PostingsHighlighter fails with IndexOutOfBoundsException

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4
    • 4.5, 6.0
    • modules/highlighter
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: