Author: yonik
Date: Mon Oct 26 15:55:57 2009
New Revision: 829843

URL: http://svn.apache.org/viewvc?rev=829843&view=rev
Log:
add warning about indexDefaults, let mainIndex.maxFieldLength inherit

Modified:
    lucene/solr/trunk/example/solr/conf/solrconfig.xml

Modified: lucene/solr/trunk/example/solr/conf/solrconfig.xml
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?rev=829843&r1=829842&r2=829843&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ lucene/solr/trunk/example/solr/conf/solrconfig.xml Mon Oct 26 15:55:57 2009
@@ -71,6 +71,9 @@
   <dataDir>${solr.data.dir:./solr/data}</dataDir>
 
 
+  <!-- WARNING: this <indexDefaults> section only provides defaults for index 
writers
+       in general. See also the <mainIndex> section after that when changing 
parameters
+       for Solr's main Lucene index. -->
   <indexDefaults>
    <!-- Values here affect all index writers and act as a default unless 
overridden. -->
     <useCompoundFile>false</useCompoundFile>
@@ -148,7 +151,8 @@
     <!-- Deprecated -->
     <!--<maxBufferedDocs>1000</maxBufferedDocs>-->
     <!--<maxMergeDocs>2147483647</maxMergeDocs>-->
-    <maxFieldLength>10000</maxFieldLength>
+
+    <!-- inherit from indexDefaults <maxFieldLength>10000</maxFieldLength> -->
 
     <!-- If true, unlock any held write or commit locks on startup. 
          This defeats the locking mechanism that allows multiple


Reply via email to