Test using dynamic rank
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 21 May 2013 13:48:03 +0000 (15:48 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 21 May 2013 13:48:03 +0000 (15:48 +0200)
test/test_http.urls
test/test_http_49.res

index c57a926..864f5f9 100644 (file)
@@ -46,7 +46,7 @@ http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%
 http://localhost:9763/search.pz2?session=6&command=record&id=content%3A+title+computer+processing+of+dynamic+images+from+an+anger+scintillation+camera+author+medium+book&offset=0&nativesyntax=txml%3Bcharset%3Dmarc-8
 http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F
 http://localhost:9763/search.pz2?session=7&command=search&query=greece
-1 http://localhost:9763/search.pz2?session=7&command=show&block=1
+1 http://localhost:9763/search.pz2?session=7&command=show&block=1&rank=title%3D9,author%3D7
 1 http://localhost:9763/search.pz2?session=6&command=show&block=1
 http://localhost:9763/search.pz2?session=6&command=record&id=content%3A+title+computer+processing+of+dynamic+images+from+an+anger+scintillation+camera+author+medium+book&checksum=2614320583
 http://localhost:9763/search.pz2?command=init
index 99b482c..9832043 100644 (file)
   <md-subjects>PAZPAR2_NULL_c</md-subjects>
  </location>
  <count>1</count>
- <relevance>291121</relevance>
+ <relevance>124766</relevance>
  <relevance_info>
 field=title content=The religious teachers of Greece.;
-greece: w[1] += w(6) / (1+log2(1+lead_decay(0.000000) * length(4)));
-greece: tf[1] += w[1](6) / length(5) (1.200000);
-field=subject content=Greece;
-greece: w[1] += w(3) / (1+log2(1+lead_decay(0.000000) * length(0)));
-greece: tf[1] += w[1](3) / length(1) (4.200000);
+greece: w[1] += w(9) / (1+log2(1+lead_decay(0.000000) * length(4)));
+greece: tf[1] += w[1](9) / length(5) (1.800000);
 relevance = 0;
 idf[1] = log(((1 + total(1))/termoccur(1));
-greece: relevance += 100000 * tf[1](4.200000) * idf[1](0.693147) (291121);
-score = relevance(291121);
+greece: relevance += 100000 * tf[1](1.800000) * idf[1](0.693147) (124766);
+score = relevance(124766);
  </relevance_info>
  <recid>content: title the religious teachers of greece author adam james medium book</recid>
 </hit>