Hi Josh

The relevance data is returned by Sphinx, and you can get to it when  
enumerating as follows:

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

-- 
Pat

On 01/03/2009, at 3:15 PM, Josh Owens wrote:

>
> Is there a way to show relevance data for each search hit?
>
> I have a huge database of cisco network parts and I put a high
> weighting on the part number, but when I search for "cisco3745" it
> ranks "CISCO3745-MB-RF" higher than "CISCO3745" when ranked by
> relevance.
> >


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