For the better analysis for ranking of documents, you should need to query
the index with these extra parameters(in bold)
eg...whole_query*&debug=true&wt=xml.*
Copy that xml and and paste it to http://explain.solr.pl/ you can then
easily find out the ranking alalysis in the forms of the pie charts and how
much weight is giving to every parameters in your solr config and in the
query.


On Tue, Apr 8, 2014 at 9:09 PM, Shawn Heisey <s...@elyograg.org> wrote:

> On 4/8/2014 3:55 AM, azhar2007 wrote:
>
>> Im basically trying to understand how results are ranked. Whats the
>> algorithm behind it
>>
>
> If you add a debugQuery parameter to your request, set to true, you will
> see the score calculation for every document included in the response.
>
> This is the default similarity class that Solr uses:
>
> http://lucene.apache.org/core/4_7_0/core/org/apache/lucene/
> search/similarities/DefaultSimilarity.html
>
> Thanks,
> Shawn
>
>

Reply via email to