- 
                Notifications
    You must be signed in to change notification settings 
- Fork 251
Description
How can I prevent spark-solr to update my schema? I understand that this feature is useful, but in my case isn't. It would be nice to disable this feature in some cases.
Spark = 2.2.0
Spark-Solr = 3.3.4
Solr = 7.5.0
Spark-Solr trying to add new field
19/01/28 16:03:13 INFO SolrRelation: adding new field: {name=category_multi_str, indexed=true, multiValued=true, docValues=true, stored=true, type=string}
Spark-Solr - Error on update schema
19/01/28 16:03:13 ERROR CloudSolrClient: Request to collection mycollection failed due to (400) org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://mysolrserver:8983/solr/mycollection: error processing commands, retry? 0
Exception in thread "main" org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://mysolrserver:8983/solr/mycollection: error processing commands
Solr error
org.apache.solr.api.ApiBag$ExceptionWithErrObject: error processing commands, errors: [{errorMessages=schema is not editable}]