You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Ravish Bhagdev <ra...@gmail.com> on 2006/04/18 19:58:01 UTC

How to get relevance scores of search results....

Hi,

I need to access the relevance scores of the hits so that I can merge
results of two independent queries.  I don't think nutch provides access to
through HitDetails.  Is there a way to access such information?

Thanks for help....

- Ravish

Re: How to get relevance scores of search results....

Posted by Andrzej Bialecki <ab...@getopt.org>.
Ravish Bhagdev wrote:
> Hi,
>
> I need to access the relevance scores of the hits so that I can merge
> results of two independent queries.  I don't think nutch provides access to
> through HitDetails.  Is there a way to access such information?
>
> Thanks for help....
>   

This is available in Hit.getSortValue(). You can take a look at the code 
in DistributedSearch.Client.search() method to see how it integrates 
partial results from different nodes.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com