According to Peter Peltonen:
> I'm running htdig-3.1.5-0glibc21 on RH62. In my .conf file reads:
> 
> --<sniip>--
> search_algorithm:       exact:1 prefix 0.5 endings:0.1
> 
> prefix_match_character:
> --</snip>--
> 
> Now. I want to find with search word "avain" both avainnippu and kotiavain. 
> At the moment htdig finds only avainnippu. What should my search_algorithm 
> look like that I would find also kotiavain?

search_algorithm:       exact:1 prefix:0.5 endings:0.1 substring:0.3

See http://www.htdig.org/attrs.html#search_algorithm for details.  Use
whatever weighting factor you feel is appropriate for substring.  I just
picked something between endings and prefix for the weight.

-- 
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