[
https://issues.apache.org/jira/browse/SOLR-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669996#action_12669996
]
Shalin Shekhar Mangar commented on SOLR-943:
--------------------------------------------
Not entirely. This may help if we reload the core which happens rarely
(replication of new configuration). The file based method is necessary in case
of out of sync index (requiring a new index directory) but when there is no
need to reload the current core and a commit will suffice.
> Make it possible to specify dataDir in solr.xml
> -----------------------------------------------
>
> Key: SOLR-943
> URL: https://issues.apache.org/jira/browse/SOLR-943
> Project: Solr
> Issue Type: Improvement
> Components: search
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 1.5
>
> Attachments: SOLR-943.patch, SOLR-943.patch
>
>
> It should be possible to specify dataDir directly for a core in solr.xml
> (over and above specifying it as a variable). It should also be possible to
> pass the dataDir as a request parameter while creating a core through the
> REST API.
> A simple scenario which requires this feature is when the location of the
> data directory depends on runtime parameters (such as free disk space or
> number of directories inside a directory).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.