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

PackedInts does not support structures above 256MB

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 3.5, 4.0-ALPHA
    • None
    • None
    • All

    • New, Patch Available

    Description

      The PackedInts Packed32 and Packed64 fails when the internal structure exceeds 256MB. This is due to a missing cast that results in the bit position calculation being limited by Integer.MAX_VALUE (256MB * 8 = 2GB).

      Attachments

        1. LUCENE-2633.patch
          4 kB
          Toke Eskildsen

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              toke Toke Eskildsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: