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

Allow RAMDirectory to copy any Directory

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      Uwe: "The FSDirectory passed to RAMDirectory in the ctor could be changed to Directory easily. The additional check for "not is a directory inode" is in my opinion lo longer needed, because listFiles should only return files."

      Use case: For increasing the speed of some of my application tests, I want to re-use/copy a pre-populated RAMDirectory over and over.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robau Rob Audenaerde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: