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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • None
    • 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

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: