The Error
You are trying to upload your Solr configuration files (schema.xml, solrconfig.xml, and their extras) and the upload fails with errors about missing fields, unknown types, or unresolvable references.
This happens because your config files depend on each other. If you upload schema.xml first but it references types defined in schema_extra_types.xml, Solr cannot understand it — the types do not exist yet.
The Good News
As of February 2023, the Opensolr Config Files Uploader handles these dependencies automatically. Just zip all your config files together and upload them in one go — the uploader figures out the correct order for you.
If You Still Have Issues (Legacy Method)
If the automatic uploader does not resolve your case, you can upload files manually in the correct order:
-
First — Upload the extra/dependency files as a zip:
schema_extra_types.xml,schema_extra_fields.xml,solrcore.properties,elevate.xml, stopwords, synonyms, and any other resource files -
Second — Upload
schema.xml(which now can find the types and fields from the extras) -
Third — Upload
solrconfig.xmllast (it references everything above)
Think of it like building a house: you pour the foundation (extra files) first, then build the walls (schema.xml), then put on the roof (solrconfig.xml). If you try to put the roof on before the walls exist, it collapses.
Quick Checklist
- Use the new Config Files Uploader — it handles dependency order automatically
- If uploading manually, always upload extras first, then schema.xml, then solrconfig.xml last
- After uploading, click Reload in your Opensolr Index control panel
- Check the Error Log if the reload fails — it will tell you exactly which reference is missing
Having trouble uploading config files? Reach out to us at support@opensolr.com — we will sort it out for you.