[
https://issues.apache.org/jira/browse/LUCENE-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869470#action_12869470
]
Shai Erera commented on LUCENE-2471:
------------------------------------
On LUCENE-1585 I'm already introducing a copy(Dir, File, File) which is
overridden in FSDirectory to implement using ByteBuffers (like you did on
copyTo(Dir). So which directories would benefit from that? RAM only (because
NIO and MMap already use FSDir's impl)?
I'm generally +1 for adding such API, just wandering who's the immediate
consumer of it.
> 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]