Skip to main content.
home | support | download

Back to List Archive

problems with phrasehighlight and output

From: Lammersdorf, Lorenz <Lorenz.Lammersdorf(at)not-real.dresdner-bank.com>
Date: Mon Jan 05 2004 - 11:15:34 GMT
hi all,

i installed swish-e 2.4 and configured it just the same way, we've
configured 2.2.3 before. but now, i get this error-message:

/www/cgi-bin/swish.cgi: Can't locate PhraseHighlight.pm in @INC (@INC
contains: /usr/local/lib/swish-e/perl '/usr/local/lib/swish-e/perl/SWISH'
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at /www/cgi-bin/swish.cgi line 1455, <GEN0> line
33

PhraseHighlight.pm IS in @INC:

locate PhraseHi
/usr/local/lib/swish-e/perl/SWISH/PhraseHighlight.pm

so why the heck it is not found? if i copy PhraseHighlight.pm in
/usr/local/lib/swish-e/perl/, swish.cgi displays "Service currently
unavailable" and in error_log i find:

/www/cgi-bin/swish.cgi Can't locate object method "new" via package
"PhraseHighlight" (perhaps you forgot to load "PhraseHighlight"?) at
/www/cgi-bin/swish.cgi line 1462, <GEN0> line 33.


another problem:
swish.cgi displays as the first entry in the resultlist the whole text of
the html-page, not an excerpt as requested. the second and following results
are displayed with the configurated limit of characters (in my case, 200
charcaters should be displayed).

regards
lorenz
Received on Mon Jan 5 11:16:34 2004