You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2007/01/22 20:25:30 UTC
[jira] Resolved: (LUCENE-780) Generalize directory copy operation
[ https://issues.apache.org/jira/browse/LUCENE-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-780.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.1
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
OK I committed this. I added the try/finally and made some small changes to the javadoc.
Thanks Jiri and keep the patches coming!
> Generalize directory copy operation
> -----------------------------------
>
> Key: LUCENE-780
> URL: https://issues.apache.org/jira/browse/LUCENE-780
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Store
> Reporter: Jiri Kuhn
> Priority: Minor
> Fix For: 2.1
>
> Attachments: DirectoryCopy.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org