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

Index corruption when using RAMDirectory( Directory) constructor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: