Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: kinosearch: discuss

Can't call method "term_vector"

 

 

kinosearch discuss RSS feed   Index | Next | Previous | View Threaded


riyaad.miller at predix

Jun 2, 2008, 7:38 AM

Post #1 of 1 (768 views)
Permalink
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 [at] rectangular
http://www.rectangular.com/mailman/listinfo/kinosearch

kinosearch discuss RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.