[
https://issues.apache.org/jira/browse/SOLR-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089528#comment-14089528
]
Shawn Heisey commented on SOLR-5704:
------------------------------------
Looks like a new issue. I'll get that filed.
{noformat}
11:53 < _sp0k_> It indeed is reading coreRootDirectory, but due to missing
trailer collection directory is created wrong. e.g.
coreRootDirectory=/usr/local/solr/cores, collection directory
created by API would be -
/usr/local/solr/cores${collection}_shard_replica where it
should be /usr/local/solr/cores/${collection}_shard_replica
{noformat}
> solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish)
> apis
> --------------------------------------------------------------------------------
>
> Key: SOLR-5704
> URL: https://issues.apache.org/jira/browse/SOLR-5704
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.6.1
> Environment: x86_64 Linux
> x86_64 Sun Java 7_u21
> Reporter: Jesse Sipprell
> Assignee: Alan Woodward
> Priority: Minor
> Labels: solr.xml
> Fix For: 4.7, 5.0
>
> Attachments: SOLR-5704.patch, SOLR-5704.patch
>
>
> "New style" core.properties auto-configuration works correctly at startup
> when {{$\{coreRootDirectory\}}} is specified in {{$\{solr.home\}/solr.xml}},
> however it does not work if a core is later created dynamically via either
> (indirectly) the collection API or (directly) the core API.
> Core creation is always attempted in {{$\{solr.home\}}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]