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

Generalize directory copy operation

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • core/store
    • None
    • New, Patch Available

    Description

      The copy operation in RAMDirectory(Directory) constructor can be used more generally to copy one directory to another. Why bound it only to RAMDirectory?. For example, I build index in RAMDirectory but I need it to persist in FSDirectory. I created a patch to solve it.

      Attachments

        1. DirectoryCopy.patch
          3 kB
          Jiri Kuhn

        Activity

          People

            Unassigned Unassigned
            kuhn Jiri Kuhn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: