Re: searching for B 4.1.7

Daniel Naber <[email protected]> Fri, 19 Sep 2003 13:55:22 +0200
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
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

_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search