Supporting bulk copies in Directory [LUCENE-2471]
Open
legacy-jira-fix-version:4.9
legacy-jira-fix-version:6.0
legacy-jira-priority:Major
module:core/store
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
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](https://issues.apache.org/jira/browse/LUCENE-2471) by Earwin Burrfoot, updated May 09 2016
Contributor guide
Assessment
This issue has not been assessed yet.