|
|
[Perlfect-search] Displaying results
Morten Wulff perlfect-search@perlfect.com
Fri, 12 Jul 2002 08:59:39 +0200
At 08:24 12-07-02 +0200, you wrote:
>I only have one question, is it possible to make Perlfect display the
>results in the same manner Google does? When it list the results, instead
>of just displaying a couple of lines from the documents top (which is
>often irrelevant), can it then display the text part where the words you
>searched for is.
Yes. Check line 108-121 in conf.pl. I have set the variables to:
$CONTEXT_SIZE = 8192;
$CONTEXT_EXAMPLES = 2;
$CONTEXT_DESC_WORDS = 12;
which seems to work well with my article archive.
Regards,
Morten Wulff
|
|