lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IJ <jay...@gmail.com>
Subject Re: How to sort value that numeric mix alpha
Date Sun, 29 Jun 2014 07:26:06 GMT
Try indexing your data as follows:

C01,C02,C03,C04,C09,C12,C23,C50
 instead of 

C1,C2,C3,C4,C9,C12,C23,C50

and the sort order would work correctly.

BTW, what you are describing as an issue is NOT unique to Solr. The same
happens on regular Databases as well. Google up how database type systems
perform alphanumeric sorts - and you'll know why.



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-sort-value-that-numeric-mix-alpha-tp4144615p4144616.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message