title: Using schema.xml instead of managed schema with Solr 5.1.X
body: <p>I am trying to use schema.xml with the latest version of Solr (5.1.0). It seems that by default Solr 5.1.0 uses managed schema, but I would like to use schema.xml for a specific collection.</p>
  
  <p>So I create a new collection (using solr create -c my_collection on windows and copy schema.xml from              </p>
  
  <pre><code>server\solr\configsets\basic_configs\conf\schema.xml
  </code></pre>
  
  <p>to</p>
  
  <pre><code>server\solr\my_collection\conf\schema.xml
  </code></pre>
  
  <p>After that I change settings in </p>
  
  <pre><code>server\solr\my_collection\conf\solrconfig.xml 
  </code></pre>
  
  <p>to use </p>
  
  <pre><code>&lt;schemaFactory class="ClassicIndexSchemaFactory"/&gt;
  </code></pre>
  
  <p>After doing this I get an exception when starting the server:</p>
  
  <pre><code>org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:    fieldType 'booleans' not found in the schema
  </code></pre>
  
  <p>Am I doing something terribly wrong here? Should not this kind of logic work?</p>
  
  <p>UPDATE:
  Stractrace looks like this:</p>
  
  <pre><code>org.apache.solr.common.SolrException: fieldType 'booleans' not found in the schema
  at org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:885)
  at org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:652)
  at org.apache.solr.core.CoreContainer.create(CoreContainer.java:518)
  at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:283)
  at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:277)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
  Caused by: org.apache.solr.common.SolrException: fieldType 'booleans' not found in the schema
  at org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory$TypeMapping.populateValueClasses(AddSchemaFieldsUpdateProcessorFactory.java:244)
  at org.apache.solr.update.processor.AddSchemaFieldsUpdateProcessorFactory.inform(AddSchemaFieldsUpdateProcessorFactory.java:170)
  at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:620)
  at org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:868)
  </code></pre>