Subject: [htdig3-dev] Too many stars
From: Terry Luedtke (LuedtkT@mail.nlm.nih.gov)
Date: Wed May 03 2000 - 09:08:34 PDT
hello,
I've been fiddling with the different _factor settings and ran into a problem. Internet Explorer bogged down on a result set and hung. When I went back and ran the same query with htsearch -v, there were dozens of star image tags on each result. It seems to be worse with backlink_factor set to zero. I added a few print lines to Display.cc and got the following in generateStars:
if(debug) cerr << "generateStars: doc, min, max " << ref->DocScore() << minScore << maxScore <<endl;
if(debug) cerr << "generateStars: nStars " << nStars << " of " << maxStars <<endl;
generateStars: doc, min, max -1 0.000219684 0.134886
generateStars: nStars -20 of 4
generateStars: doc, min, max -1 0.000219684 0.134886
generateStars: nStars -20 of 4
As you can see, ref-DocScore() is returning a negative score so in this case there are 25 stars. I also printed the buildMatchList() section that sets min and max scores. No negative scores were displayed. Any ideas?
Terry Luedtke
National Library of Medicine
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed May 03 2000 - 06:59:03 PDT