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

LongBistSet can't have Long size

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 6.6
    • 7.1, 8.0
    • None
    • None
    • New

    Description

      private final long[] bits; // Array of longs holding the bits
      ===> bits.length is small for bit number having Long.MAX
      so you can not call "LongBitSet.set(Long.MAX-1)"

      Attachments

        1. LUCENE-7933.patch
          2 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            dreampk00 Won Jonghoon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: