[KinoSearch] myschema help

Hao Chen chilibot at gmail.com
Sun Jul 13 22:13:37 PDT 2008



Hi,

I am very new to kinosearch. I've got basic indexing and searching 
working thanks to the wonderful tutorial. Now I am trying to implement a 
boolean search function. It seems to me the best way is to use 
query_parser, which requires a schema. However, when I put

package MySchema;
use base qw(KinoSearch::Schema);
use KinoSearch::Analysis::PolyAnalyzer;

in my index script, I got the following error:

Base class package "KinoSearch::Schema" is empty.
     (Perhaps you need to 'use' the module which defines that package 
first.)

Any help is very much appreciated.

Hao


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




More information about the kinosearch mailing list