Re: [htdig] search for word fragments


Subject: Re: [htdig] search for word fragments
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Thu Jul 20 2000 - 12:46:34 PDT


According to Torsten Neuer:
> Tim Leggett wrote:
> > is there a way to allow searches for parts of words? not the fuzzy
> > prefix/suffix searches, but fragments. for example, my search of the
> > htdig.org site for 'Gil' returned no matches for 'Gilles'. Being a lazy
> > typist, I want to be able to search for, say, 'meta' and have the search
> > return docs that include 'metapath' (name of my company).
>
> With Ht://Dig this is called "prefix matching". However, you need to
> tell
> htsearch that the expression is used for prefix search. By default this
> is done by typing "some*" (which then should result in something,
> somewhat etc).
>
> For more information, refer to the documentation:
>
> http://www.htdig.org/attrs.html#search_algorithm
> http://www.htdig.org/attrs.html#prefix_match_character

You may also want to have a look at the "substring" fuzzy match algorithm.

-- 
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.



This archive was generated by hypermail 2b28 : Thu Jul 20 2000 - 02:47:34 PDT