According to edwin lin:
> I installed the htdig. It worked fine except some features.
> For instance, if I search by key word breast cancer, it returns cancer 
> first. The breast cancer page will be at the bottom of returns. How do I fix 
> that problem?

There is a patch in the archives that boosts the score when you use the
"Any" method and more than one keyword is matched.  It's at

    ftp://ftp.ccsf.org/htdig-patches/3.1.5/multiboost.1

The only slight problem is the boosting factor of 1000 is hardcoded, but
you can make it configurable by changing the harcoded 1000 to something
like config.Value("multiboost_factor", 1000) to get the code to use a
multiboost_factor value from your config file, allowing you to experiment
with different values.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to