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

Index corruption when using RAMDirectory( Directory) constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9
    • 2.0.0
    • None
    • None

    Description

      LUCENE-475 introduced a bug in creating RAMDirectories for large indexes. It truncates the length of the file to an int, from its original long value. Any files that are larger than an int are truncated. Patch to fix is attached.

      Attachments

        1. RAMDirectory-truncate.diff
          0.9 kB
          Peter A Royal Jr.

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            proyal Peter A Royal Jr.
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: