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

BytesRef copy short missed the length setting

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • core/other
    • linux 64bit jdk 6

    • New, Patch Available

    Description

      when storing a short type integer to BytesRef, BytesRef missed the length setting. then it will cause the storage size is ZERO if no continuous options on this BytesRef

      Attachments

        1. BytesRef_bug_lucene3589.patch
          0.4 kB
          peter chang

        Activity

          People

            rcmuir Robert Muir
            peterchang peter chang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment