[KinoSearch] Misleading error on invindex open?

Marvin Humphrey marvin at rectangular.com
Fri Sep 5 09:21:55 PDT 2008


On Sep 5, 2008, at 7:20 AM, Henka wrote:

> I think what really snared me was the implied "create" when using a  
> *Searcher*, not indexer.

I agree that it would be nice to force 'read' when opening a Searcher,  
but it can't be helped -- the error occurs before the Searcher  
constructor is entered.

   my $searcher = KinoSearch::Searcher->new(
     invindex => MySchema->open('/path/to/invindex'),
   );

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




More information about the KinoSearch mailing list