Try :sort_by instead of :order - although it would be nice if it  
worked as you stated.

-- 
Pat

On 03/04/2009, at 1:18 AM, Tom Davies wrote:

>
> I was trying to play around with expression based sorting but having
> no luck (sphinx returns no results so I must be doing something
> wrong).  I tried something like:
>
> :sort_mode => :expr, :order => "@weight+1"
>
> just as a simple test.  If anyone has a simple working example you
> could share I would appreciate it.
>
> Thanks,
> Tom
> >


--~--~---------~--~----~------------~-------~--~----~
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