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

Noble Paul edited comment on SOLR-7613 at 6/6/15 8:06 PM:
----------------------------------------------------------

bq.In my particular case the core won't load without some of the properties 
being specified. Is there a way to get those properties into ZK before you even 
create the new collection? It looks like you are adding properties to an 
already existing collection...

In these cases we normally provide a sane default in the config. 

example {prop_name:prop_default_val}

After the core is loaded you can use the config api to update the values 

The other option is to write the {{configoverlay.json}} directly to ZK before 
creating the collection , till we have a way to handle these outside of the 
collection


was (Author: noble.paul):
bq.In my particular case the core won't load without some of the properties 
being specified. Is there a way to get those properties into ZK before you even 
create the new collection? It looks like you are adding properties to an 
already existing collection...

In these cases we normally provide a sane default in the config. 

example {prop_name:prop_default_val}

The other option is to write directly to ZK before creating the collection , 
till we have a way to handle these outside of the collection

> solrcore.properties file should be loaded if it resides in ZooKeeper
> --------------------------------------------------------------------
>
>                 Key: SOLR-7613
>                 URL: https://issues.apache.org/jira/browse/SOLR-7613
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Steve Davids
>             Fix For: 5.3
>
>
> The solrcore.properties file is used to load user defined properties for use 
> primarily in the solrconfig.xml file, though this properties file will only 
> load if it is resident in the core/conf directory on the physical disk, it 
> will not load if it is in ZK's core/conf directory. There should be a 
> mechanism to allow a core properties file to be specified in ZK and can be 
> updated appropriately along with being able to reload the properties when the 
> file changes (or via a core reload).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to