Perlfect Solutions
 

[Perlfect-search] setting $STEMCHARS for most accurate search results

Daniel Naber perlfect-search@perlfect.com
Wed, 9 Jul 2003 02:06:36 +0200
On Tuesday 08 July 2003 23:26, Rusty Wilson wrote:

> I have read the faq and the comments within conf.pl, but I'm still a
> little confused by what $STEMCHARS is/does.

Each word is cut off after $STEMCHARS. So if $STEMCHARS = 3, "house" will 
be indexed and searched as "hou" (doesn't make much sense, so 3 is much 
too low). 
$STEMCHARS = 0 is the special case that doesn't cut off words at all, so 
leave it at 0 for best accuracy.

Regards
 Daniel

-- 
http://www.danielnaber.de