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

If index has more than Integer.MAX_VALUE terms, seeking can it AIOOBE due to long/int overflow

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Tom hit a new long/int overflow case: http://markmail.org/thread/toyl2ujcl4suqvf3

      This is a regression, in 3.1, introduced with LUCENE-2075.

      Worse, our Test2BTerms failed to catch this, so I've fixed that test to show the failure.

        Attachments

        1. LUCENE-3024.patch
          11 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: