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>
Note => We need to achieve the value with the Preceding zeros in Solr.