Erick, Thanks for replying :-). If I were to do that, we are trying to set string value to int and Solr throws an error. <field name="mileage" type="int" indexed="true" stored="true" multiValued="false" default="5"/>
Oh wait, I guess it works because Solr would automatically parse based on the data type of the field. :-). As I could see from the exception java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > *at java.lang.Integer.parseInt(Integer.java:493) * > at java.lang.Integer.parseInt(Integer.java:514) > at > org.apache.solr.schema.TrieField.createField(TrieField.java:592) Thanks for the answer. I will test it as soon as I could reproduce the issue again -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-set-default-values-to-int-fields-tp4099741p4099934.html Sent from the Solr - User mailing list archive at Nabble.com.