You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by bhaskar chandrasekar <ba...@yahoo.co.in> on 2009/09/23 19:25:15 UTC

Ranking of search results

Hi,
 
When i give a input string for search in Solr , it displays me the corresponding results for the given input string.
 
How the results are ranked and displayed.On what basis the search results are displayed.
Is there any algorithm followed for displaying the results with first result and so on.
 
 
Regards
Bhaskar
 


      

Re: Ranking of search results

Posted by bhaskar chandrasekar <ba...@yahoo.co.in>.

--- On Wed, 9/23/09, Amit Nithian <an...@gmail.com> wrote:


Hi Amith,
 
Thanks for your reply.How do i set preference for the links , which should appear first,second in the search results.
Which configuration file in Solr needs to be modified to achieve the same?.
 
Regards
Bhaskar
From: Amit Nithian <an...@gmail.com>
Subject: Re: Ranking of search results
To: solr-user@lucene.apache.org
Date: Wednesday, September 23, 2009, 11:33 AM


It depends on several things:1) The query handler that you are using
2) The fields that you are searching on and default fields specified

For the default handler, it will issue a query for the default field and
return results accordingly. To see what is going on  pass the
&debugQuery=true to the end of the URL to see detailed output. If you are
using the DisMaxHandler (DisJoint Max) then you will have a qf, pf and bf
(query fields, phrase fields, boosting function). I would start looking at
http://wiki.apache.org/solr/DisMaxRequestHandler

<http://wiki.apache.org/solr/DisMaxRequestHandler>- Amit

On Wed, Sep 23, 2009 at 10:25 AM, bhaskar chandrasekar <bas_sree@yahoo.co.in
> wrote:

> Hi,
>
> When i give a input string for search in Solr , it displays me the
> corresponding results for the given input string.
>
> How the results are ranked and displayed.On what basis the search results
> are displayed.
> Is there any algorithm followed for displaying the results with first
> result and so on.
>
>
> Regards
> Bhaskar
>
>
>
>



      

Re: Ranking of search results

Posted by Amit Nithian <an...@gmail.com>.
It depends on several things:1) The query handler that you are using
2) The fields that you are searching on and default fields specified

For the default handler, it will issue a query for the default field and
return results accordingly. To see what is going on  pass the
&debugQuery=true to the end of the URL to see detailed output. If you are
using the DisMaxHandler (DisJoint Max) then you will have a qf, pf and bf
(query fields, phrase fields, boosting function). I would start looking at
http://wiki.apache.org/solr/DisMaxRequestHandler

<http://wiki.apache.org/solr/DisMaxRequestHandler>- Amit

On Wed, Sep 23, 2009 at 10:25 AM, bhaskar chandrasekar <bas_sree@yahoo.co.in
> wrote:

> Hi,
>
> When i give a input string for search in Solr , it displays me the
> corresponding results for the given input string.
>
> How the results are ranked and displayed.On what basis the search results
> are displayed.
> Is there any algorithm followed for displaying the results with first
> result and so on.
>
>
> Regards
> Bhaskar
>
>
>
>