Hi All,
We are using the *int data type* field in Solr. The value which we are trying to add is *0045*. While Solr inserts this value into that field it will automatically remove the preceding *'00'*. The value shown in Solr is *45*. Provide the solution to overcome this problem and add the data same as *0045* in Solr without changing *int* data type. Original Value = *0045* Current Value in Solr = *<int> 45 </int>* Expected Value in Solr = *<int> 0045 </int>* *Schema.xml* *<dynamicField name="test" type="int" indexed="true" stored="true" />* *Note => We need to achieve the value with the Preceding zeros in Solr without changing the data type from int.* Thanks & Regards, *Shubham Panchal*