According to Antti Eronen:
> I'd like to ask about the "fuzzy" search algorithms in ht://Dig: are 
> they only configured to be used and used inside htsearch in order to give 
> better search results to the user, or can the user somehow choose to use 
> these algorithms by herself when doing searches?

There are a couple ways to make different sets of fuzzy search algorithms
user-selectable.  One way is to have a number of different configuration
files, each with its own unique setting of the search_algorithm attribute,
and then make the "config" CGI input parameter user-selectable in the
search form, so the user can pick the config file that gives the search
strategy he/she wants.

The other way is to allow the search_algorithm attribute to be directly
set from the search form, via the allow_in_form attribute.

See http://www.htdig.org/FAQ.html#q4.2 for info about customising
and selecting config files, as well as a link to the search form
documentation, and see http://www.htdig.org/attrs.html#allow_in_form
and http://www.htdig.org/attrs.html#search_algorithm for descriptions
of the attributes referenced above.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to