Thanks, but unfortunately that doesn't work either.  it seems OK on
single class searches, but on multi-class searches, I can't get it to
go regardless of what permutations of options I try

On Mar 30, 3:39 pm, Mickaël <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to