Skip to main content.
home | support | download

Back to List Archive

Re: word fragment stemming

From: john cooper <john(at)>
Date: Thu Mar 20 2003 - 18:22:35 GMT

Could you not just alter each search word to end in a 'wildcard' symbol, 
before searching, so that "hosp app"
would actually search for "hosp* app*"?

If they do use full words it will still work.

Phrases and reserve words would need handling, but a little perl should 
do it!



McKenzie, Chuck wrote:

>Is there an existing way to have swish-e match a search for the beginning of
>a word to the full word?  As an example, matching "hosp" to "hospital"?  I
>haven't found a way to do it with existing Stemming or FuzzyMatching
>Would the best way to do this be to use a custom indexing program that for
>each word, added an index entry for substr($word,0,3) through
>In context, I'm looking to replace our existing Netscape Enterprise Server
>search engine with apache/swish-e, but many people have been trained to use
>the existing search engine with only word fragments, and I need to avoid
>having to retrain them.
>Chuck McKenzie
>Due to deletion of content types excluded from this list by policy,
>this multipart message was reduced to a single part, and from there
>to a plain text message.
Received on Thu Mar 20 18:26:28 2003