Re: htdig: Prefix Matching?


plucas@frost.com
Wed, 9 Dec 1998 16:53:01 -0800


>> After reading through the mail archives I have added and/or changed the
>> following lines in our configuration file:
>>
>> search_algorithm: exact:1 prefix:1 endings:0.8
>> prefix_match_character: "*"
>> max_prefix_matches: 100
>> minimum_prefix_length: 3
>>
>> I tried running 'htfuzzy prefix' in case that was needed to prepare a
>> special prefix-endings database but it returned "htfuzzy: 'prefix' is
not a
>> supported algorithm" so I guess I don't need to do that.
>
>
>You don't need to htfuzzy the prefix. It doesn't build a database like
>htfuzzy
>endings does. Just set search_algorithm: to prefix:1 and it should work.
>
>Note that the '*' should not be in valid_punctuation: !!!
>This is what caused trouble at my place.

Thanks Jesse, that was part of it. Then I removed the quotes from around
the * on the prefix_match_character line in the config file and it now
works perfectly.

Cheers,

Paul

==
Paul Lucas
Frost & Sullivan

----------------------------------------------------------------------
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:49 PST