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

Generalize directory copy operation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: