[Ferret-talk] Making sorting case insensitive

Max Williams toastkid.williams at gmail.com
Fri Jun 6 05:22:19 EDT 2008


You could always downcase the field you want to sort by before saving it to
the index - is that an option?

2008/6/6 Efrén Díaz <efren088 at gmail.com>:

> Hello,
>
> I've been trying to make sorting in ferret case insensitive without
> any luck. I've been searching the mailing list, the docs and nothing.
>
> Apparently setting the type option for the sort to string should do
> it, but it doesn't.
>
> Does anyone know how to achieve this?
>
> Thanks.
>
> --
> Efrén Díaz
>
> http://www.efrendiaz.com
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ferret-talk/attachments/20080606/ba8ec0a8/attachment.html>


More information about the Ferret-talk mailing list