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

Index corruption when using RAMDirectory( Directory) constructor

    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.

        Activity

        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Thanks Peter, I just committed this!

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Thanks Peter, I just committed this!

          People

          • Assignee:
            yseeley@gmail.com Yonik Seeley
            Reporter:
            proyal peter royal
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development