No experience with this personally, but it seems like you are describing https://cwiki.apache.org/confluence/display/solr/Language+Analysis#LanguageAnalysis-UnicodeCollation
- Andy - -----Original Message----- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Monday, March 14, 2016 10:51 AM To: solr-user@lucene.apache.org Subject: Re: Solr sort preferences number vs space vs character On 3/14/2016 12:05 AM, vkrishna wrote: > Hey Shawn, > > Is there any way to use ASCII? so I can get the result I want. I do not know whether Solr has any config facility to incorporate a custom Lucene sorting class. I tried to look at the Lucene code to see if I could figure out how/where the sorting happens, but I couldn't decipher it. ASCII wouldn't give you the result you want, though -- it sorts numbers before letters, and you want them after. You would likely need some VERY custom Lucene sort code ... but like I said above, I do not know if Solr has a way to plug that in. Thanks, Shawn