On 12/4/2013 12:34 PM, hank williams wrote:
Ok one more simple question. We just upgraded to 4.6 from 4.2. In 4.2 we
were *trying* to use the rest API function "create" to create cores without
having to manually mess with files on the server. Is this what "create" was
supposed to do? If so it was borken or we werent using it right. In any
case in 4.6 is that the right way to programmatically add cores in
discovery mode?

If you are NOT in SolrCloud mode, in order to create new cores, the config files need to already exist on the disk. This is the case with all versions of Solr.

If you're running in SolrCloud mode, the core is associated with a collection. Collections have a link to aconfig in zookeeper. The config is not stored with the core on the disk.

Thanks,
Shawn

Reply via email to