Re: [htdig] Length of the search word

Gilles Detillieux (
Wed, 4 Aug 1999 10:31:21 -0500 (CDT)

According to Monika Fertmann:
> I'd like to know if it's possible to search a string with more than 11
> letter like "abcdefghijklm" correct.
> When i search "abcdefghijklm", i get all the pages that contain
> "abcdefghijk*", but not exactly "abcdefghijklm".
> Is it possible? How can i do it?

This is controlled by the compile-time option, MAX_WORD_LENGTH, in
include/htconfig.h. Right now, the default for this is 12, but you
can change it, recompile and reinstall the package, and rebuild your
database if you want it larger. One of the things on the to-do list
is to make this a run-time option (configuration attribute), so that
you'd only need to reindex your sites from scratch after changing this,
but for now you still need to recompile.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to containing the single word unsubscribe in the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Wed Aug 04 1999 - 08:31:34 PDT