Perlfect Solutions
 

[Perlfect-search] searching for B 4.1.7

Daniel Naber perlfect-search@perlfect.com
Fri, 19 Sep 2003 13:55:22 +0200
On Friday 19 September 2003 11:18, Ingo Kley wrote:

> we try to search for something like "B 4.1.7" which may be a section of
> a book.
> Perlfect finds nothing.

You will need to change the normalize() function both in search.pl and 
indexer.pl to find this. The easiest way is this:

-Set $MINLENGTH = 1; and $INDEX_NUMBERS = 1; in conf.pl
-Remove the one-character "words" from conf/stopwords.txt
-Replace 
 tr/a-zA-Z0-9_/ /cs;
 by
 tr/a-zA-Z0-9\._/ /cs;
 (note that an escaped dot was added) in indexer.pl and search.pl

Regards
 Daniel

-- 
http://www.danielnaber.de