[
https://issues.apache.org/jira/browse/SOLR-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670000#action_12670000
]
Noble Paul commented on SOLR-943:
---------------------------------
bq.If there were also a way to specify a different index directory, we could
get rid of the new file based method, right?
do you mean having a dataDir as well as the indexDir ?
This means we will have to call persist from a handler after changing that.
Currently there is no means to change any property while the core is up and
running. It is only possible during core creation. We will have to make quite
some changes to make this possible
> 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.