Return info about relevance score
[pazpar2-moved-to-github.git] / test / test_limit_limitmap_15.res
index 447378b..c36ef7a 100644 (file)
@@ -2,7 +2,7 @@
 <show><status>OK</status>
 <activeclients>0</activeclients>
 <merged>1</merged>
-<total>2016</total>
+<total>1</total>
 <start>0</start>
 <num>1</num>
 <hit>
 <md-title>The religious teachers of Greece</md-title>
 <md-date>1972</md-date>
 <md-author>Adam, James</md-author>
-<md-description>Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures</md-description><location id="Target-1" name="ztest-db1">
+<md-description>Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures</md-description><location id="Target-1"
+ name="ztest-db1" checksum="1300880726">
 <md-title>The religious teachers of Greece</md-title>
 <md-date>1972</md-date>
 <md-author>Adam, James</md-author>
 <md-description>Reprint of the 1909 ed., which was issued as the 1904-1906 Gifford lectures</md-description>
 <md-test-usersetting>XXXXXXXXXX</md-test-usersetting></location>
-<relevance>620000</relevance>
+<relevance>291121</relevance>
+<relevance_info>
+greece: field=title vecf[1] += mult(6) / length(5);
+greece: field=subject vecf[1] += mult(3) / length(1);
+idf[1] = log(((1 + total(1))/termoccur(1));
+greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121);
+score = relevance(291121);
+</relevance_info>
 <recid>content: title the religious teachers of greece author adam james</recid>
 </hit>
 </show>
\ No newline at end of file