[
https://issues.apache.org/jira/browse/SOLR-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley reopened SOLR-658:
-------------------------------
This causes reopen() to never be used on Windows because the following
condition comes up false:
{code}
if(new File(getIndexDir()).equals(new File(newIndexDir))) {
{code}
> Allow Solr to load index from arbitrary directory in dataDir
> ------------------------------------------------------------
>
> Key: SOLR-658
> URL: https://issues.apache.org/jira/browse/SOLR-658
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.4
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Fix For: 1.4
>
> Attachments: SOLR-658.patch, SOLR-658.patch, SOLR-658.patch,
> SOLR-658.patch, SOLR-658.patch, SOLR-658.patch
>
>
> This is a requirement for java based Solr replication
> Usecase for arbitrary index directory:
> if the slave has a corrupted index and the filesystem does not allow
> overwriting files in use (NTFS) replication will fail. The solution is to
> copy the index from master to an alternate directory on slave and load
> indexreader/indexwriter from this alternate directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.