On Apr 5, 2007, at 10:45 PM, David Balmain wrote:

> Now, if you don't specify the sort type, Ferret will try and determine
> the sort type for you. It will first try to parse the field as an
> integer and then as a float before defaulting the a string type. My
> guess is that the reason John's sort isn't working is that Ferret is
> detecting an integer field so it is trying to sort by integer but the
> integers don't fit in a 4 byte integer, hence the problem.
>
> Hope that explains it. If not, let me know and I'll try and make it a
> little clearer. I'm in a bit of a rush to get through all the emails
> on the list to see if there are any issues I need to deal with before
> putting out another release.

That explains it very well, thanks. I wasn't aware of the default  
sort behavior. It might be worth it to mention that (more?)  
prominently in the documentation.

Thanks again,
John

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to