: I am attempting to override some properties in my solrconfig.xml file by : specifying properties in a solrcore.properties file which is uploaded in : Zookeeper's collections/conf directory, though when I go to create a new : collection those properties are never loaded. One work-around is to specify
yeah ... that's weird ... it looks like the solrcore.properties reading logic goes out ot it's way to read from the conf/ dir of the core, rather then using the SolrResourceLoader (which is ZK aware in cloud mode) I don't understand if this is intentional or some kind of weird oversight. The relevent method is CoreDescriptor.loadExtraProperties() By all means please open a bug about this -- and if you're feeling up to it, tackle a patch: IIUC CoreDescriptor.loadExtraProperties is the relevent method ... it would need to build up the path including the core name and get the system level resource loader (CoreContainer.getResourceLoader()) to access it since the core doesn't exist yet so there is no core level ResourceLoader to use. Hopefully some folks who are more recently familiar with the core loading logic (like Alan & Erick) will see the Jira nad can chime in as to wether there is some fundemental reason it has to work the way it does not, or if this bug can be fixed. : easy way of updating those properties cluster-wide, I did attempt to : specify a request parameter of 'property.properties=solrcore.properties' in : the collection creation request but that also fails. yeah, looks like regardless of the filename, that method loads it the same way. -Hoss http://www.lucidworks.com/