On 10/4/2013 1:49 PM, helt wrote:
Now I am able to create cores, but new cores don't have their own config
file. Is this intended behavior? I haven't found much documentation for
these features.

I think I miss something basic here. Is it really normal, that no
configuration files are being created when creating cores? But if I change
configuration properties, where are they going to be stored?

The CoreAdmin CREATE action has never created config files. It assumes that the config files are already present in ${instanceDir}/conf and will fail if config files are not found.

The default value for dataDir is ${instanceDir}/data. By having the config files in your classpath, those will be used if they are not found in the standard location. It is a little bit unusual to have the config files on the classpath - usually they are in the core's conf directory.

With SolrCloud, the situation is different. In zookeeper, the collection name is associated with a config name, and you can't have a cloud-related core that isn't associated with a collection. The named config must also be in zookeeper.

Thanks,
Shawn

Reply via email to