Hi Brad

Because TS just returns hashes for each facet, there's no way to sort these 
results currently. It is something that's been requested a few times, so I will 
investigate when I get the chance, but right now, you're out of luck.

Sorry I can't be of more help.

-- 
Pat

On 30/03/2010, at 5:21 AM, Brad Langhorst wrote:

> I have 2 facets working pretty well... within each facet i want to
> sort by something relevant.
> 
> ThinkingSphinx.facets(search_string, :sort_mode => :extended, :order
> => "is_wild_type desc, year desc, @relevance desc")
> 
> 
> is_wild_type is a boolean attribute of one facet (polymerase)
> year is an attribute of the other facet (reference)
> 
> I think i may be approaching this wrong... I don't need a strict
> search order, but I would like more recent references and wild type
> polymerases to have higher relevance.
> 
> How can I achieve what I'm trying to do?
> 
> Thanks!
> 
> Brad
> 
> -- 
> 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.
> 

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