I have a requirement to preserve 0 after decimal point, currently with the
below field type 

 <fieldType class="solr.SortableFloatField" name="sfloat" omitNorms="true"
sortMissingLast="true"/>

27.50 is stripped as 27.5
27.00 is stripped as 27.0
27.90 is stripped as 29.9

<float name="Price">27.5</float>

I also tried using double but even then the 0's are getting stripped.

<double name="Price">27.5</double>

Input data:

<field name="Price">27.50</field> 








--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-preserve-0-after-decimal-point-tp4159295.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to