According to Patrick Robinson:
> [htdig-3.1.5 on Solaris 2.6]
> Is there a way to include one or more specific "short words" -- that is,
> words that are shorter than minimum_word_length -- in htdig's index?
> 
> Specifically, my problem is that I want to index and be able to find
> documents containing the term "4-H", even though:
> (a) my minimum_word_length is set to the default of 3,
> (b) "4-H" contains a dash, which is punctuation (I'm using the default
> valid_punctuation string), so it would be indexed as "4h", if it weren't
> too short to be indexed.

You could take the hyphen out of valid_punctuation and put it in
extra_word_characters instead, but that may not be what you want in
the general case.  Unfortunately, there's no way of singling out
specific words for special treatment.

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