Tweak rank/relevance algorithm
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Sep 2012 10:54:28 +0000 (12:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Sep 2012 10:54:28 +0000 (12:54 +0200)
commitf1200fd1cab4fa57feacd43046997ce2d23edbd5
tree2963f8ef1be4dcf5d62fd8cd970402916d9b2e1f
parent5720f0e03c2322d84bd45343bb9b407d3a6c2436
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.
58 files changed:
NEWS
doc/pazpar2_conf.xml
src/client.c
src/pazpar2_config.c
src/pazpar2_config.h
src/relevance.c
src/relevance.h
test/test_facets_13.res
test/test_facets_16.res
test/test_facets_24.res
test/test_facets_4.res
test/test_facets_9.res
test/test_filter_12.res
test/test_filter_3.res
test/test_filter_6.res
test/test_filter_9.res
test/test_http.cfg
test/test_http_18.res
test/test_http_28.res
test/test_http_32.res
test/test_http_36.res
test/test_http_42.res
test/test_http_49.res
test/test_http_5.res
test/test_http_60.res
test/test_http_63.res
test/test_http_66.res
test/test_http_72.res
test/test_http_74.res
test/test_http_76.res
test/test_http_79.res
test/test_http_81.res
test/test_icu_9.res
test/test_limit_limitmap_15.res
test/test_limit_limitmap_18.res
test/test_limit_limitmap_21.res
test/test_limit_limitmap_24.res
test/test_limit_limitmap_26.res
test/test_limit_limitmap_28.res
test/test_limit_limitmap_30.res
test/test_limit_limitmap_36.res
test/test_limit_limitmap_4.res
test/test_limit_limitmap_42.res
test/test_limit_limitmap_9.res
test/test_post_10.res
test/test_post_8.res
test/test_solr_13.res
test/test_solr_18.res
test/test_solr_22.res
test/test_solr_25.res
test/test_solr_29.res
test/test_solr_4.res
test/test_solr_9.res
test/test_termlist_block_9.res
test/test_turbomarcxml_4.res
test/test_turbomarcxml_7.res
test/test_url_3.res
test/test_url_6.res