[KinoSearch] bad intialization in SegTermDocs.pm

jack_tanner at yahoo.com jack_tanner at yahoo.com
Thu Apr 10 18:12:45 PDT 2008



> From: Marvin Humphrey <marvin at rectangular.com>
>
> My first guess is that the root of the problem is a mismatch between  
> what's in the index and what's been requested.  But it's hard to say,  

Bingo! OK, that was a bug in my code. I now always get the error 'Can't call method "get_score" on unblessed reference', as in the e-mail from an hour ago.

This leads me to another question: if I have tokenized (and stemmed and removed stopwords from) my own input, is there a way to create a new KS doc with the list of tokens? For now, I have to do this:

my $doc = $invindexer->new_doc;
$doc->set_value(txt => join (' ', @tokens));




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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




More information about the kinosearch mailing list