Hi Jeffrey, I'm not sure but there are some options about is.
:sort => :date :sort_mode => :desc For example Article.search "something", :order => :created_at, :sort_mode => :desc http://ts.freelancing-gods.com/quickstart.html (at the end) speaking about that. Mickaël. On 30 mar, 22:27, Jeffrey Chupp <[email protected]> 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 -~----------~----~----~----~------~----~------~--~---
