From 40486d3220fee4e110748626dbcf3b5ce3139d57 Mon Sep 17 00:00:00 2001 From: Varun Thacker Date: Wed, 9 Dec 2015 18:33:46 +0000 Subject: [PATCH] SOLR-8387: Rename all schema.xml files to managed-schema git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718932 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 7 +++++++ .../solr/db/conf/{schema.xml => managed-schema} | 0 .../solr/mail/conf/{schema.xml => managed-schema} | 0 .../solr/rss/conf/{schema.xml => managed-schema} | 0 .../solr/solr/conf/{schema.xml => managed-schema} | 0 .../solr/tika/conf/{schema.xml => managed-schema} | 0 .../basic_configs/conf/{schema.xml => managed-schema} | 0 .../conf/{schema.xml => managed-schema} | 0 8 files changed, 7 insertions(+) rename solr/example/example-DIH/solr/db/conf/{schema.xml => managed-schema} (100%) rename solr/example/example-DIH/solr/mail/conf/{schema.xml => managed-schema} (100%) rename solr/example/example-DIH/solr/rss/conf/{schema.xml => managed-schema} (100%) rename solr/example/example-DIH/solr/solr/conf/{schema.xml => managed-schema} (100%) rename solr/example/example-DIH/solr/tika/conf/{schema.xml => managed-schema} (100%) rename solr/server/solr/configsets/basic_configs/conf/{schema.xml => managed-schema} (100%) rename solr/server/solr/configsets/sample_techproducts_configs/conf/{schema.xml => managed-schema} (100%) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 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 ( //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 : + (Varun Thacker) + ================== 5.4.0 ================== Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release diff --git a/solr/example/example-DIH/solr/db/conf/schema.xml b/solr/example/example-DIH/solr/db/conf/managed-schema similarity index 100% rename from solr/example/example-DIH/solr/db/conf/schema.xml rename to solr/example/example-DIH/solr/db/conf/managed-schema diff --git a/solr/example/example-DIH/solr/mail/conf/schema.xml b/solr/example/example-DIH/solr/mail/conf/managed-schema similarity index 100% rename from solr/example/example-DIH/solr/mail/conf/schema.xml rename to solr/example/example-DIH/solr/mail/conf/managed-schema diff --git a/solr/example/example-DIH/solr/rss/conf/schema.xml b/solr/example/example-DIH/solr/rss/conf/managed-schema similarity index 100% rename from solr/example/example-DIH/solr/rss/conf/schema.xml rename to solr/example/example-DIH/solr/rss/conf/managed-schema diff --git a/solr/example/example-DIH/solr/solr/conf/schema.xml b/solr/example/example-DIH/solr/solr/conf/managed-schema similarity index 100% rename from solr/example/example-DIH/solr/solr/conf/schema.xml rename to solr/example/example-DIH/solr/solr/conf/managed-schema diff --git a/solr/example/example-DIH/solr/tika/conf/schema.xml b/solr/example/example-DIH/solr/tika/conf/managed-schema similarity index 100% rename from solr/example/example-DIH/solr/tika/conf/schema.xml rename to solr/example/example-DIH/solr/tika/conf/managed-schema diff --git a/solr/server/solr/configsets/basic_configs/conf/schema.xml b/solr/server/solr/configsets/basic_configs/conf/managed-schema similarity index 100% rename from solr/server/solr/configsets/basic_configs/conf/schema.xml rename to solr/server/solr/configsets/basic_configs/conf/managed-schema diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/schema.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema similarity index 100% rename from solr/server/solr/configsets/sample_techproducts_configs/conf/schema.xml rename to solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema