Subject: Re: [htdig] searching sub-words
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Thu Sep 28 2000 - 11:14:31 PDT
According to Jose Antonio =?iso-8859-1?Q?G=F3mez?=:
> I am novice in htdig. If I find "escuela" for example, it gives me 221
> results, but if I find "escu" there isn't any results. How can I do to
> get results?
> Thanks.
>
> I use Htdig 3.1.5 in Linux Debian with apache..
There are two ways. In either case, you need to modify your
search_algorithm attribute to add one of these fuzzy match
methods:
prefix allows you to specify the first part of the word, as "escu*"
to match all words beginning with the same prefix. The "*"
character is specified by the prefix_match_character attribute.
substring allows you to specify any portion of a word, and it will
find words that match that portion. The number of matches
is limited by substring_max_words.
See http://www.htdig.org/attrs.html#search_algorithm for details.
-- Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca> 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------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>
This archive was generated by hypermail 2b28 : Thu Sep 28 2000 - 11:21:12 PDT