Not sure if you can find out how ranks are calculated (although it
depends on the match mode - for :all (the default) and :any (and
maybe :boolean), all weightings returned are 1.
You can get the weighting values by looping through using
@results.each_with_weighting { |result, weight| ... } - doesn't tell
you how Sphinx figured those values out though.
--
Pat
On 23/07/2009, at 10:33 PM, Robb wrote:
>
> One particular object is coming out first for a certain search, and we
> can't figure out why. (We'd expect it to not be there at all.) The
> search text appears in none of the indexed fields, as far as we can
> tell.
>
> Is there a way to get debug output to see how a search rank/result was
> calculated?
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---