Return info about relevance score
[pazpar2-moved-to-github.git] / test / test_http_28.res
index 77035ab..4d93455 100644 (file)
  name="Index Data GILS test server" checksum="2074161109">
 <md-title>UTAH GEOCHROMOMETRY</md-title></location>
 <relevance>86304</relevance>
+<relevance_info>
+utah: field=title vecf[1] += mult(6) / length(2);
+idf[1] = log(((1 + total(3))/termoccur(3));
+utah: relevance += 100000 * vecf[1](3.000000) * idf[1](0.287682) (86304);
+score = relevance(86304);
+</relevance_info>
 <recid>content: title utah geochromometry author medium book</recid>
 </hit>
 <hit>
  name="Index Data GILS test server" checksum="1725776531">
 <md-title>UTAH EARTHQUAKE EPICENTERS</md-title></location>
 <relevance>57536</relevance>
+<relevance_info>
+utah: field=title vecf[1] += mult(6) / length(3);
+idf[1] = log(((1 + total(3))/termoccur(3));
+utah: relevance += 100000 * vecf[1](2.000000) * idf[1](0.287682) (57536);
+score = relevance(57536);
+</relevance_info>
 <recid>content: title utah earthquake epicenters author medium book</recid>
 </hit>
 <hit>
  name="Index Data GILS test server" checksum="1899968820">
 <md-title>UTAH GEOLOGICAL AND MINERAL SURVEY PUBLICATIONS</md-title></location>
 <relevance>28768</relevance>
+<relevance_info>
+utah: field=title vecf[1] += mult(6) / length(6);
+idf[1] = log(((1 + total(3))/termoccur(3));
+utah: relevance += 100000 * vecf[1](1.000000) * idf[1](0.287682) (28768);
+score = relevance(28768);
+</relevance_info>
 <recid>content: title utah geological and mineral survey publications author medium book</recid>
 </hit>
 </show>
\ No newline at end of file