i think type="text_general" make it charactered-sort for numbers.
How about make it as type="int" or type="long" instead of "text_general"? ---- <field name="business_point" type="text_general" indexed="true" stored="true" required="false" multiValued="false"/> ---- Regards, suganuma 2014-07-15 16:24 GMT+09:00 madhav bahuguna <madhav.bahug...@gmail.com>: > Iam trying to sort my records but the result i get is not correct > My url query-- > > http://localhost:8983/solr/select/?&q=*:*&fl=business_point&sort=business_point+desc > > Iam trying to sort my records by business_points but the result i get is in > like this > 9 > 8 > 7 > 6 > 5 > 45 > 4 > 4 > 10 > 1 > > Whys am i getting my results in the wrong order > my schema looks like this > <field name="business_point" type="text_general" indexed="true" > stored="true" required="false" multiValued="false"/> > > -- > Regards > Madhav Bahuguna >