title: Add a custom field type in solr
body: <p>In solr schema.xml many field types are defined.
  for example</p>
  
  <pre><code>&lt;fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/&gt;
  </code></pre>
  
  <p>is a definition for an integer field.</p>
  
  <p>How  we define custom field types inside solr?</p>
  
  <p>Is it possible to add java types such as BigInteger, BigDecimal, Map and other types as field type in solr?</p>