Re: htdig: Hyphenation Problems and Maximum Word Length?


Geoff Hutchison (ghutchis@wso.williams.edu)
Fri, 11 Dec 1998 18:08:42 -0500


At 5:27 PM -0500 12/11/98, plucas@frost.com wrote:
>Has anyone else had any problems when searching for hyphenated names or
>words? I was searching for Hewlett-Packard and, even though there were
>thousands of matches with the name in the first few bytes of the saved
>excerpt none of the excerpts were displayed. I have a hyphen in the
>valid_punctuation string in the config file so maybe the routine which
>highligths the search words in the excerpt is trying to compare
>HewlettPackard with Hewlett-Packard and not getting any matches?

Yes, this is the problem. It's a known bug.

>Also does anyone know if there is a maximum word length that htdig will
>store? If there is (and on my system it seems to be set to 12) how would I
>change it? I am using htdig 3.1.0b2 on a Solaris 2.6 Sparc box.

Yup. The default is 12 characters. It's set in the file include/htconfig.h.
It's a bit obscure...

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:29:51 PST