[ https://issues.apache.org/jira/browse/SOLR-13618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001691#comment-17001691 ]
Erick Erickson commented on SOLR-13618: --------------------------------------- Vincenzo: Sure, give a whirl. Short form: when the core admin API instanceDir method is called (note, core admin API, _not_ collection API) a couple of things should happen if the instanceDir property is specified: 1> make sure instanceDir is a descendant of SOLR_HOME 2> Insure that no _other_ core.properties files exist above or below it, i.e. in any directory between instanceDir and SOLR_HOME, or any directory below SOLR_HOME. You're probably looking at CoreContainer.create... > The core admin API should fail to create a core if the instanceDir is not > under SOLR_HOME or a child or ancestor of instanceDir contains core.properties > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-13618 > URL: https://issues.apache.org/jira/browse/SOLR-13618 > Project: Solr > Issue Type: Bug > Reporter: Talvinder Matharu > Priority: Major > > When new 'instanceDir' is set outside the SOLR_HOME directory then core will > fail to reload after restart as the server only discovers cores within > SOLR_HOME, looking for a 'core.properties'. > So what we ideally want is to check for all the “core.properties” defined > within all 'instanceDir' paths, which may exist outside the SOLR_HOME dir. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org