Kasi Sankaralingam wrote:
When we have the following set of data, they are first sorted based on Capital
letters and then lower case
. Is there a way to make them sort regardless of character case?
Avaneesh
Bruce
Veda
caroleY
jonathan
junit
So carole would come after Bruce. Thanks
sorting is based on the token, not the stored field. Use a fieldType
that includes the LowerCaseFilterFactory
Check the 'alphaOnlySort' fieldType in the example schema.xml -- that
makes a token with lowercase and tosses any non letters (you can get rid
of the PatternReplaceFilterFactory but it is a good example)
ryan