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

Calling IndexSearcher.searchAfter beyond the number of stored documents causes ArrayIndexOutOfBoundsException

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2
    • 4.5, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      ArrayIndexOutOfBoundsException makes it harder to reason about the cause.

      Is there a better way to notify programmers of the cause?

      Attachments

        1. LUCENE-5128.patch
          6 kB
          Shai Erera
        2. LUCENE-5128.patch
          3 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            crocket anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: