I don't think this is possible, unfortunately... :group_by should  
accept :extended sorting syntax, I think, but it almost certainly  
doesn't support the :expr syntax, which is obviously what you're using.

Not sure what the best way forward is. Sorry I can't be of more help.

-- 
Pat

On 22/04/2009, at 3:27 AM, bikash wrote:

>
> hey guys,
>
> part of my of search options look like:
> :sort_by => "@weight * ln(popularity)",:group_function
> => :attr, :group_by => "refnum", :sort_mode => :expr,:match_mode
> => :extended2
>
> problem here is, group_by overrides the sort_by effect. Is there any
> way to sort our result based on expression first and then apply
> group_by if there is any duplicate results?
> Thanks
> >


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