On 3/18/2016 7:31 AM, John Mitchell wrote:
> My question would it be better to make my Schema changes within the renamed
> "/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf/schema.xml"
> instead of the way that I am doing it now via curl -X POST -H
> 'Content-type:application/json' --data-binary '{
> "add-field":                               "?

Only you can answer this question.  Do you want to continue using the
http API, or do you want to hand-edit the schema and reload the
core/collection?  Both are possible, but you should pick one or the other.

Note that you would not change the file in data_driven_schema_configs --
this is not the active configuration for a running index, it's a config
source for newly created indexes.  If you're not in cloud mode, you
would change the config in your core's conf directory.  If you're
running SolrCloud (Solr with zookeeper), the changes would need to be
made in zookeeper, most likely with the upconfig command on the zkcli
script.  After the change, the core/collection needs a reload.

Thanks,
Shawn

Reply via email to