[KinoSearch] basic search example - cant create object

Marvin Humphrey marvin at rectangular.com
Thu Jan 25 20:58:29 PST 2007




On Jan 25, 2007, at 8:30 PM, Klaus Gruen wrote:

> So I was successful in creating an index using the example code, I  
> think, and tried to run the example code provided below and get  
> this error:
> E:\>perl e:\tmp\kino_searchtest.pl
> Can't call method "create_weight" on an undefined value at E:/Perl/ 
> site/lib/Kino
> Search/Search/BooleanQuery.pm line 98.

That's puzzling.

I need more info.  Please add this to the top of your script and rerun.

   use Carp;
   local $SIG{__DIE__} = sub { confess };

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



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




More information about the kinosearch mailing list