Re: Upload core.properties to ZooKeeper

2017-05-11 Thread Erick Erickson
No, this won't work. You do _not_ want to have core.properties on ZK anyway or be identical on each replica, certain values in that file must be unique per replica (e.g. the name) All you command should do would be to create an entry in each core.properties file on each replica like properties=/lo

Re: Upload core.properties to ZooKeeper

2017-05-11 Thread marotosg
You can load a core.properties using "&property.properties=/localpath/core.properties" For instance http://solrserver:8983/solr/admin/collections?action=CREATE&name=person&numShards=1&replicationFactor=2&&collection.configName=person&property.properties=/localpath/core.properties -- View this m

Re: Upload core.properties to ZooKeeper

2015-08-06 Thread Kevin Lee
You should be able to use user defined properties within core.properties. However, it sounds like you are uploading core.properties to Zookeeper. In SolrCloud, core.properties is not uploaded to Zookeeper. You place core.properties within your core’s top level directory and the cores are aut

Re: Upload core.properties to ZooKeeper

2015-08-06 Thread Upayavira
Have you looked at the collections API? It has the ability to set properties against collections. I wonder if that'll achieve the same thing as adding them to core.properties? I've never used it myself, but wonder if it'll solve your issue. Upayavira On Thu, Aug 6, 2015, at 12:35 PM, marotosg wro

Upload core.properties to ZooKeeper

2015-08-06 Thread marotosg
Hi, I am in the process of migrating my master, slave Solr infraestructure to SolrCloud. At the moment I have several cores inside a folder with this structure /MyCores /MyCores/Core1 /MyCores/Core1/conf /MyCores/Core1/core.properties /MyCores/Core2 /MyCores/Core2/conf /MyCores/Core1/core.properti