Return info about relevance score
[pazpar2-moved-to-github.git] / test / test_facets_13.res
index f3c7728..a913096 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<show>
-<status>OK</status>
+<show><status>OK</status>
 <activeclients>0</activeclients>
 <merged>1</merged>
 <total>8</total>
@@ -9,14 +8,23 @@
 <hit>
 
 <md-title>How to program a computer</md-title>
-<md-author>Jack Collins</md-author><location id="localhost:9999/db1" name="db1">
+<md-author>Jack Collins</md-author><location id="localhost:9999/db1"
+ name="db1" checksum="4195168235">
 <md-title>How to program a computer</md-title>
 <md-author>Jack Collins</md-author></location>
-<location id="localhost:9999/db1" name="db1">
+<location id="localhost:9999/db1"
+ name="db1" checksum="75373906">
 <md-title>How to program a computer</md-title>
 <md-author>Jack Collins</md-author></location>
 <count>2</count>
-<relevance>240000</relevance>
-<recid>title how to program a computer author jack collins</recid>
+<relevance>97311</relevance>
+<relevance_info>
+computer: field=title vecf[1] += mult(6) / length(5);
+computer: field=title vecf[1] += mult(6) / length(5);
+idf[1] = log(((1 + total(2))/termoccur(2));
+computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.405465) (97311);
+score = relevance(97311);
+</relevance_info>
+<recid>content: title how to program a computer author jack collins</recid>
 </hit>
-</show>
+</show>
\ No newline at end of file