Hey Shawn, I completely forgot to mention that this kind of sorting is working fine in 1.4 version now we are upgrading to 5.4. I know solr made many changes between, because it's been years. Do you know when and in which version they made changes for sorting.
Thanks, Krishna. -------------------------------------------- On Mon, 3/14/16, chillra [via Lucene] <ml-node+s472066n4263651...@n3.nabble.com> wrote: Subject: RE: Solr sort preferences number vs space vs character To: "vkrishna" <vamsikrishna_t...@yahoo.com> Date: Monday, March 14, 2016, 8:21 AM 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 _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://lucene.472066.n3.nabble.com/Solr-sort-preferences-number-vs-space-vs-character-tp4263527p4263651.html To unsubscribe from Solr sort preferences number vs space vs character, visit http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4263527&code=dmFtc2lrcmlzaG5hX3Rzc3NAeWFob28uY29tfDQyNjM1Mjd8LTE3NjA5MTUyMw== -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sort-preferences-number-vs-space-vs-character-tp4263527p4263678.html Sent from the Solr - User mailing list archive at Nabble.com.