[
https://issues.apache.org/jira/browse/LUCENE-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869558#action_12869558
]
Michael McCandless commented on LUCENE-2471:
--------------------------------------------
I agree: we should only expose the per-file copyTo, ie, the Directory shouldn't
"own" the iteration through a collection of files; the caller can do that.
> Supporting bulk copies in Directory
> -----------------------------------
>
> Key: LUCENE-2471
> URL: https://issues.apache.org/jira/browse/LUCENE-2471
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Earwin Burrfoot
>
> 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?).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]