Apache Lucene open-source search software
Fix for SOLR-3565, removing maxFieldLength from example schema
Erick Ericksona112e601f142
diff --git a/solr/example/solr/conf/solrconfig.xml b/solr/example/solr/conf/solrconfig.xmlindex 7d4755ed74d..64bf60ac0ff 100755--- a/solr/example/solr/conf/solrconfig.xml+++ b/solr/example/solr/conf/solrconfig.xml@@ -121,8 +121,10 @@Note: This replaces <indexDefaults> and <mainIndex> from older versions~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --><indexConfig>- <!-- maxFieldLength specifies max number of *tokens* indexed per field. Default: 10000 -->- <!-- <maxFieldLength>10000</maxFieldLength> -->+ <!-- maxFieldLength was removed in 4.0. To get similar behavior, include a+ LimitTokenCountFilterFactory in your fieldType definition. E.g.+ <filter class="solr.LimitTokenCountFilterFactory" maxTokenCount="10000"/>+ --><!-- Maximum time to wait for a write lock (ms) for an IndexWriter. Default: 1000 --><!-- <writeLockTimeout>1000</writeLockTimeout> -->