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

BytesRef copy short missed the length setting

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/other
    • Labels:
    • Environment:

      linux 64bit jdk 6

    • Lucene Fields:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: