It was an actual date.  Thanks, Pat, that solved it.

On Mar 30, 6:34 pm, Pat Allan <[email protected]> wrote:
> Is date a datetime/date column? Or a string column? If the former, you  
> really want to have it as an attribute instead of a field:
>
>    has date
>
> Which makes it implicitly sortable (and it will also function more  
> reliably than a string representation of a date).
>
> --
> Pat
>
> On 31/03/2009, at 7:27 AM, Jeffrey Chupp wrote:
>
>
>
>
>
> > Apologies if this has been covered, but I can't find anything in the
> > PDF or the group.
>
> > I want to search multiple classes and sort them by a common field
> > named 'date'.  On each model I added
>
> >  indexes :date, :sortable => true
>
> > but whenever i specify :order => 'date DESC' it returns 0 results.  I
> > don't see anything in the log files explaining the zero results.
>
> > Is this possible to achieve?  What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to