Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

comments added to explain the role of these schema files

Bertrand Delacretazc19acfe50fec
diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml
index c07137349bc..6ef8b103be6 100755
--- a/example/solr/conf/schema.xml
+++ b/example/solr/conf/schema.xml
@@ -16,11 +16,15 @@
limitations under the License.
-->
-<!-- This is the Solr schema file. This file should be named "schema.xml" and
+<!--
+ This is the Solr schema file. This file should be named "schema.xml" and
should be in the conf directory under the solr home
(i.e. ./solr/conf/schema.xml by default)
or located where the classloader for the Solr webapp can find it.
+ This example schema is the recommended starting point for users.
+ It should be kept correct and concise, usable out-of-the-box.
+
For more information, on how to customize this file, please see
http://wiki.apache.org/solr/SchemaXml
-->
diff --git a/src/test/test-files/solr/conf/schema.xml b/src/test/test-files/solr/conf/schema.xml
index 28ce8dbe10e..e00980138c5 100644
--- a/src/test/test-files/solr/conf/schema.xml
+++ b/src/test/test-files/solr/conf/schema.xml
@@ -19,6 +19,10 @@
<!-- The Solr schema file. This file should be named "schema.xml" and
should be located where the classloader for the Solr webapp can find it.
+ This schema is used for testing, and as such has everything and the
+ kitchen sink thrown in. See example/solr/conf/schema.xml for a
+ more concise example.
+
$Id: schema.xml 382610 2006-03-03 01:43:03Z yonik $
$Source: /cvs/main/searching/solr-configs/test/WEB-INF/classes/schema.xml,v $
$Name: $