List Info

Thread: Re: bad intialization in SegTermDocs.pm




Re: bad intialization in SegTermDocs.pm
country flaguser name
United States
2008-04-10 20:12:45
> From: Marvin Humphrey <marvinrectangular.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
KinoSearchrectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )