That said - you're also sorting with the SQL statement - why bother with the Sphinx sort order at all?
(And that SQL ordering should be done like so in v3: :sql => {:order => 'vintage_year DESC'} )
Cheers
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/8rDDG7z8mP0J.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
:order => "@weight DESC, vintage_year DESC"
It'll need to be an attribute, not a field:
has vintage_year
If you've not been sure what the difference is between fields and attributes, have a read of the sections here:
http://pat.github.com/ts/en/sphinx_basics.html
Cheers
--
Pat