Mailing List Archive

Can't call method "term_vector"
Hi All

I'm using KinoSearch-0.20_051.

Does anyone know if this has already been resolved?

Error:

Can't call method "term_vector" on unblessed reference at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/Highlight/Highlighter.pm
line 226, <GEN2 line 1.


http://www.rectangular.com/pipermail/kinosearch/2007-November/001303.html

After disabling the code

#$highlighter = KinoSearch::Highlight::Highlighter-new;
#$highlighter-add_spec(field = 'bodytext');
#$hits-create_excerpts(highlighter = $highlighter);

I find myself being unable to access

$hit-{excerpt}

although the rest,

my $score = sprintf("%0.3f", $hit-{score});
my $date = $hit-{date};
my $time = $hit-{time};
my $site = $hit-{site};

works 100%

Could anyone assist on this?

Thx
Riyaad


_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch