Hi Jonas,

You can get it like this:

@results.each_with_weighting do |result, weight|
  ...
end

See the second question here: 
http://wiki.github.com/freelancing-god/thinking-sphinx/faq

weight, rank and relevance are synonyms as far a I know.

Hope that helps,
Mark


On Dec 15, 1:01 pm, Johnny <[email protected]> wrote:
> Hi all,
>
> Is there an undocumented way to get the @ranking value of a Model? I
> need this value to get the neighbours of a given Model in a given
> query.
>
> Greetings,
> Jonas

--

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