Updating the Schema in a Solr Collection
If your collection was configured using an instance directory, you can download the
instance directory, edit
schema.xml, then re-upload it to ZooKeeper.
If your collection was configured using a config, you can update the schema using the Schema API. For information on using the Schema API, see Schema API in the Apache Solr Reference Guide.