lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Spam <>
Subject Sorting fields with letters?
Date Fri, 21 Oct 2011 19:57:03 GMT
Hi everyone,

I have a field that has a letter in it (for example, 1A1, 2A1, 11C15, etc.).  Sorting it seems
to work most of the time, except for a few things, like 10A1 is lower than 8A100, and 10A100
is lower than 10A99.  Any ideas?  I bet if my data had leading zeros (ie 10A099), it would
behave better?  (But I can't really change my data now, as it would take a few days to re-inject
- which is possible but a hassle).


View raw message