You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/08/12 13:59:48 UTC

[jira] [Resolved] (SOLR-5136) New discovery mode ignores instanceDir property

     [ https://issues.apache.org/jira/browse/SOLR-5136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-5136.
----------------------------------

    Resolution: Not A Problem

>From that very page:
"This is being debated, it may not be allowed and the instanceDir may be the directory in which core.properties is found"

The place this is going Real Soon Now is configuration sets that allow you to share the configuration data in a common directory.

I'll update the page to remove that since it's stale information. For the time being you'll have to copy the data to each discovered core.


                
> New discovery mode ignores instanceDir property
> -----------------------------------------------
>
>                 Key: SOLR-5136
>                 URL: https://issues.apache.org/jira/browse/SOLR-5136
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore
>    Affects Versions: 4.4
>         Environment: Linux
>            Reporter: Thomas Scheffler
>
> I have a common instance directory to share {{schema.xml}} and {{solrconfig.xml}} between multiple cores. According to [Core Discovery (4.4 and beyond)|http://wiki.apache.org/solr/Core%20Discovery%20%284.4%20and%20beyond%29] a property *instanceDir* is available to set the instance directory for the configured core.
> On start up of SOLR instanceDir is always set to the parent directory of _core.properties_.
> Setting a complete path to {{schema.xml}} and {{solrconfig.xml}} via *schema* and *config* properties won't help as every relative path is resolved against the wrong (unconfigurable) instanceDir and not against {{schema.xml}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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