[
https://issues.apache.org/jira/browse/LUCENE-9601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-9601.
---------------------------------
Resolution: Not A Problem
You can use {{HardlinkCopyDirectoryWrapper}} if you want this, just take note
of the caveats that it documents:
https://lucene.apache.org/core/8_7_0/misc/org/apache/lucene/store/HardlinkCopyDirectoryWrapper.html
> Why not use HardLink in indexWriter.addIndexes
> ----------------------------------------------
>
> Key: LUCENE-9601
> URL: https://issues.apache.org/jira/browse/LUCENE-9601
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/index
> Affects Versions: 8.6.3
> Reporter: zhangchao.es
> Priority: Minor
>
> when we addIndexes from dirs,it use copySegmentAsIs to copy segment files to
> dest dir,that
> requires 2x temporary free space and more io operations.Can hard links be
> used instead of copying files?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]