Hi Sohan

weight and relevance are actually the same thing - Sphinx aliases one to the 
other, so each_with_weighting, and the weight values in the results hash, are 
what you want.

Ideally, Sphinx should choose one name and stick with it, because yeah, it is a 
bit confusing.

Hope this helps.

Cheers

-- 
Pat

On 23/04/2010, at 8:17 AM, Sohan wrote:

> Hi All:
> I greatly appreciate your efforts on this project.
> 
> Now, I am stuck with one simple thing that I believe you ppl can help
> me in quick time. Please let me know how to get the raw relevance
> score out of the search. I see the weight is available as a the output
> of the results method and also via each_with_weighting. Is there
> anything similar for the relevance?
> 
> If there's none, please point me to the place where I should change
> the code to get this relevance score. I need this urgently and any
> help is admired.
> 
> Thank you.
> 
> -- 
> 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