A method can be added to IndexOutput that accepts IndexInput, and writes bytes using it as a source.
This should be used for bulk-merge cases (offhand - norms, docstores?). Some Directories can then override default impl and skip intermediate buffers (NIO, MMap, RAM?).
Migrated from LUCENE-2471 by Earwin Burrfoot, updated May 09 2016
A method can be added to IndexOutput that accepts IndexInput, and writes bytes using it as a source.
This should be used for bulk-merge cases (offhand - norms, docstores?). Some Directories can then override default impl and skip intermediate buffers (NIO, MMap, RAM?).
Migrated from LUCENE-2471 by Earwin Burrfoot, updated May 09 2016