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

BytesRef copy short missed the length setting

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment