[ 
https://issues.apache.org/jira/browse/SOLR-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616801#action_12616801
 ] 

Noble Paul commented on SOLR-658:
---------------------------------

Implementation 

    * keep a file index.properties in the data dir
    * Have an entry index=<new.index> in that file
    * This file may also keep _version_
    * When a new indexsearcher/writer is loaded, read this property and try to 
load the index from that folder
    * if it is absent , default to the hardcoded value for index and latest 
commitpoint



> Allow Solr to load index from arbitrary directory in dataDir and Commit point
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-658
>                 URL: https://issues.apache.org/jira/browse/SOLR-658
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>
> 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.
> Usecase for arbitrary commitpoint :
> Replication can also provide rollback feature . The rollback should be able 
> to mention a comitpoint /generation so that rollback is possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to