[ https://issues.apache.org/jira/browse/SOLR-13618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001675#comment-17001675 ]
Vincenzo D'Amore edited comment on SOLR-13618 at 12/21/19 11:32 AM: -------------------------------------------------------------------- Hi, I have some experience with Solr and would like to contribute to the community. I think being able to fix this. What is not clear, is exactly what to do. I think to double check the instanceDir is within SOLR_HOME when someone calls the core admin API, in case is outside raise an informative error message. On the other hand I didn't get what to do in the other case when a child or ancestor of instanceDir contains core.properties. was (Author: v.dam...@gmail.com): Hi, I have some experience with Solr and would like to contribute to the community. I think being able to fix this. What is not clear, is exactly what to do. I think to double check the instanceDir is within SOLR_HOME, when someone calls the core admin API, in case is outside raise an informative error message. On the other hand I didn't get what to do in the other case when a child or ancestor of instanceDir contains core.properties. > The core admin API should fail 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