I think you can write a custom function query and use it on query time.
-- View this message in context: http://lucene.472066.n3.nabble.com/Typecast-non-stored-string-field-for-sorting-tp4132759p4132779.html Sent from the Solr - User mailing list archive at Nabble.com.