[KinoSearch] bad intialization in SegTermDocs.pm

jack_tanner at yahoo.com jack_tanner at yahoo.com
Thu Apr 10 15:22:32 PDT 2008



I'm a KS newbie, but I think I've found a bug that has to do with SegTermDocs.pm in 0.162.

Specifically, I'm seeing a BooleanQuery return 0 docs. I stepped through KS's code (yay EPIC) to find that in SegTermDocs->new, after _init_child($self) the $self remains undef. Subsequently, $self->_set_reader( $reader ) also fails, and new() returns an undef SegTermDocs object. I'm an XS n00b, and I wouldn't know how to begin tracing that part of the code.

In case this is relevant (probably not), the docs are analyzed with only a whitespace tokenizer because I do my own stemming and stopword removal. They're stored in a RAMInvIndex. I'm running on Fedora 8, Perl 5.8.8, with KS installed from CPAN.




__________________________________________________
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