From: Adam Dickmeiss Date: Mon, 17 Sep 2012 10:54:28 +0000 (+0200) Subject: Tweak rank/relevance algorithm X-Git-Tag: v1.6.18~1 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=f1200fd1cab4fa57feacd43046997ce2d23edbd5;hp=5720f0e03c2322d84bd45343bb9b407d3a6c2436;p=pazpar2-moved-to-github.git Tweak rank/relevance algorithm Rank algorithm configurable by 'rank' element inside service. So far only, attribute 'cluster' is recognized. If cluster="yes", multiple records inside a cluster boosts higher than single records. This is default behavior and existing behavior. cluster="no" takes the average score of each record in a cluster. --- diff --git a/NEWS b/NEWS index 5cbf7a5..c513062 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ + +Rank algorithm configurable by 'rank' element inside service. So far +only, attribute 'cluster' is recognized. If cluster="yes", multiple +records inside a cluster boosts higher than single records. This +is default behavior and existing behavior. cluster="no" takes the +average score of each record in a cluster. + --- 1.6.17 2012/09/05 Fix bad re-use of connections (connections with changing proxy should not diff --git a/doc/pazpar2_conf.xml b/doc/pazpar2_conf.xml index 913c753..454cc02 100644 --- a/doc/pazpar2_conf.xml +++ b/doc/pazpar2_conf.xml @@ -581,6 +581,22 @@ + + rank + + + Customizes the ranking (relevance) algorithm. + Attribute 'cluster' is a boolean + that controls whether Pazpar2 should boost ranking for merged + records. Is 'yes' by default. A value of 'no' will make + Pazpar2 avergage ranking of each record in a cluster. + + + This configuration was added in pazpar2 1.6.18. + + + +