You're mixing managed and non-managed schema terms here. "schema.xml" is the old default and is (usually) _not_ editable by the managed schema stuff.
Managed schema schemas are usually named just that "managed_schema". You can hand edit this if you want, but when you do I'd recommend that all the Solr nodes be shut down. As to where it lives in ZK, it should be under configsets/the_name_you_gave_it. Of course you have to edit it somewhere and push it up to ZK, Solr 5.5 has options to do this in bin/solr, the "zk" command. But from the error, you are not configured to use managed schema, which is enabled in solrconfig.xml. See: https://cwiki.apache.org/confluence/display/solr/Schema+API and https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig Best, Erick On Thu, Apr 21, 2016 at 3:02 PM, Boman <bir...@apttus.com> wrote: > Where do I find the shema.xml to hand edit? I can't find it on my node > running ZK. > > I'm not sure what's happening, but when I try to add a field to the schema > for one of the collections (I am running in SolrCloud mode), I get: > > curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field" > : { "name":"newtestfield__c", "type":"string", "stored":true}}' > http://localhost:8983/solr/00D61000000HHnj/schema > { > "responseHeader":{ > "status":0, > "QTime":2}, > "errors":[{"errorMessages":"schema is not editable"}]} > > Thanks. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Making-managed-schema-unmutable-correctly-tp4264051p4271963.html > Sent from the Solr - User mailing list archive at Nabble.com.