Apache Solr open-source search software
SOLR-8387: Rename all schema.xml files to managed-schema
Varun Thacker40486d3220fe
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex eb179176aeb..68fa78a3bcc 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -272,6 +272,13 @@ Other Changes* SOLR-8360: simplify ExternalFileField.getValueSource implementation (Christine Poerschke)+* SOLR-8387: All example configs shipped with Solr explicitly use ManagedIndexSchemaFactory, the schema file will+ be called managed-schema instead of schema.xml . It is not advised to use hand edit the managed-schema. You should+ use the schema APIs instead ( /<collection>/schema ) . If you do not want this behaviour in the example configs,+ before you start solr rename managed-schema to schema.xml and change the schemaFactory in solrconfig.xml file+ to explicitly use ClassicIndexSchemaFactory instead : <schemaFactory class="ClassicIndexSchemaFactory"/>+ (Varun Thacker)+================== 5.4.0 ==================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this releasediff --git a/solr/example/example-DIH/solr/db/conf/schema.xml b/solr/example/example-DIH/solr/db/conf/managed-schemasimilarity index 100%rename from solr/example/example-DIH/solr/db/conf/schema.xmlrename to solr/example/example-DIH/solr/db/conf/managed-schemadiff --git a/solr/example/example-DIH/solr/mail/conf/schema.xml b/solr/example/example-DIH/solr/mail/conf/managed-schemasimilarity index 100%rename from solr/example/example-DIH/solr/mail/conf/schema.xmlrename to solr/example/example-DIH/solr/mail/conf/managed-schemadiff --git a/solr/example/example-DIH/solr/rss/conf/schema.xml b/solr/example/example-DIH/solr/rss/conf/managed-schemasimilarity index 100%rename from solr/example/example-DIH/solr/rss/conf/schema.xmlrename to solr/example/example-DIH/solr/rss/conf/managed-schemadiff --git a/solr/example/example-DIH/solr/solr/conf/schema.xml b/solr/example/example-DIH/solr/solr/conf/managed-schemasimilarity index 100%rename from solr/example/example-DIH/solr/solr/conf/schema.xmlrename to solr/example/example-DIH/solr/solr/conf/managed-schemadiff --git a/solr/example/example-DIH/solr/tika/conf/schema.xml b/solr/example/example-DIH/solr/tika/conf/managed-schemasimilarity index 100%rename from solr/example/example-DIH/solr/tika/conf/schema.xmlrename to solr/example/example-DIH/solr/tika/conf/managed-schemadiff --git a/solr/server/solr/configsets/basic_configs/conf/schema.xml b/solr/server/solr/configsets/basic_configs/conf/managed-schemasimilarity index 100%rename from solr/server/solr/configsets/basic_configs/conf/schema.xmlrename to solr/server/solr/configsets/basic_configs/conf/managed-schemadiff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/schema.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schemasimilarity index 100%rename from solr/server/solr/configsets/sample_techproducts_configs/conf/schema.xmlrename to solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema