lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1529638 - /lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml
Date Sun, 06 Oct 2013 16:22:46 GMT
Author: erick
Date: Sun Oct  6 16:22:46 2013
New Revision: 1529638

URL: http://svn.apache.org/r1529638
Log:
SOLR-5253, rearrange example schema to make it more difficult to remove _version_ and other
reserved fields by mistake

Modified:
    lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml

Modified: lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?rev=1529638&r1=1529637&r2=1529638&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml (original)
+++ lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml Sun Oct  6 16:22:46 2013
@@ -106,16 +106,20 @@
       trailing underscores (e.g. _version_) are reserved.
    -->
 
-   <!-- _version_ is a required field, DO NOT REMOVE. --> 
+   <!-- If you remove this field, you must _also_ disable the update log in solrconfig.xml
+      or Solr won't start. _version_ and update log are required for SolrCloud
+   --> 
    <field name="_version_" type="long" indexed="true" stored="true"/>
    
    <!-- points to the root document of a block of nested documents. Required for nested
-      document support, may be removed otherwise -->
+      document support, may be removed otherwise
+   -->
    <field name="_root_" type="string" indexed="true" stored="false"/>
 
-   <!-- While not required, a <uniqueKey> is present in almost all Solr installations,
-      only remove the "id" field if you have very good reason to. See the 
-      <uniqueKey> declaration below -->   
+   <!-- Only remove the "id" field if you have a very good reason to. While not strictly
+     required, it is highly recommended. A <uniqueKey> is present in almost all Solr

+     installations. See the <uniqueKey> declaration below where <uniqueKey> is
set to "id".
+   -->   
    <field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false"
/> 
         
    <field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/>



Mime
View raw message