I did some investigation after I wondered the same thing, and here is the best I can think of.
It seems that schema.xml and managed-schema are indentical, only their name has changed in Solr6.
Benefits of Managed Circuit
- The benefits are that you can make changes to your schema more securely without the risk of typos or creating an invalid schema. The API will reject your changes if something is invalid.
- The Schema API also handles all reboots of your kernels after changing the schema, so you don't need to.
Managed Circuit Disadvantages
- You should not make manual changes to the managed scheme, and therefore you should go through the API, it makes it difficult to track the current state of your scheme (for example, through a version control system)
Note. The Schema API schema has an endpoint for receiving a managed schema with the special curl http://localhost:8983/solr/<COLLECTION>/schema?wt=schema.xml parameter curl http://localhost:8983/solr/<COLLECTION>/schema?wt=schema.xml
Note. If you have a schema.xml file and I donβt have a managed schema during Solr startup and I donβt have a schemaFactory specified in solrconfig.xml, Solr will assume that it is managed and creates managed_schema from the schema.xml file, after which your the schema.xml file is no longer readable. The managed circuit will be read from now on. Further changes to schema.xml will be ignored.
bdeo
source share