You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2019/07/10 13:18:00 UTC

[jira] [Commented] (SOLR-13618) Solr start-up fails to discover cores outside SOLR_HOME

    [ https://issues.apache.org/jira/browse/SOLR-13618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882043#comment-16882043 ] 

Shawn Heisey commented on SOLR-13618:
-------------------------------------

We need to be careful when deciding just how much rope we will provide for users that they might use to hang themselves.

Why do you want your cores in entirely different directory trees?  This might seem like a silly question, but we do need to assess whether there are general use cases, or if this feature would be rarely used and better handled in some other way.

The functionality you want could be achieved right now without code changes by putting a symlink (junction on Windows) in the solr home pointing to your alternate storage location.

> Solr start-up fails to discover cores outside SOLR_HOME 
> --------------------------------------------------------
>
>                 Key: SOLR-13618
>                 URL: https://issues.apache.org/jira/browse/SOLR-13618
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org