Geoff Hutchison (ghutchis@wso.williams.edu)
Mon, 10 May 1999 09:18:12 -0400
At 8:52 AM -0400 5/10/99, mlina@dds.nl wrote:
>substring:0.5 endings:0.1" and get following when I want to find
>>'kraakhandleiding' (dutch wouldn't matter, would it?):
No, it shouldn't matter.
>'kraak' - match!
>handlei' - match!
>'handleid' - no match!
>
>The 'handlei' match appears to match because it's appended to 'kraak'
>internally. Why doesn't that happen to 'handleiding' ?
It's too long. By default, ht://Dig stores only the first 12 letters of
words (hey, works well for English). So the final 'd' isn't stored in the
database and it really doesn't match 'handleid.'
To increase the maximum size of stored words, change MAX_WORD_LENGTH in
include/htconfig.h and recompile ht://Dig. We should probably think about
how to make this into an attribute, but until then you'll need to recompile.
Cheers,
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Mon May 10 1999 - 06:29:12 PDT