title: Solr stats field on type text
body: <p>Im trying to get a stats of field called "Quantity"..The field is stored as a "text". Considering that the index has around 50 million records and its difficult to rebuild the index. Can we somehow tweak the  query to consider the "Quantity" field as int field instead of "text" field..</p>
  
  <p>Query</p>
  
  <pre><code>http://localhost:8983/solr/collection1/select?q=usb&amp;wt=json&amp;indent=true&amp;stats=true&amp;stats.field=Quantity_t
  </code></pre>
  
  <p>Error</p>
  
  <pre><code> "error":{
      "msg":"Field type text_general{class=org.apache.solr.schema.TextField,analyzer=org.apache.solr.analysis.TokenizerChain,args={class=solr.TextField, positionIncrementGap=100}} is not currently supported",
      "code":400}}
  </code></pre>