Subject: | Non-existant field in query produces an "unknown subroutine" error. |
Specifying a query with an unknown field produces the following error:
Undefined subroutine &KinoSearch::Search::PhraseScorer::kerror called
at...
The attached patch fixes it.
Subject: | phrasescorer.patch.txt |
--- KinoSearch/Search/PhraseScorer.pm.orig 2007-03-26 16:48:44.000000000 +0000
+++ KinoSearch/Search/PhraseScorer.pm 2007-03-26 16:49:20.000000000 +0000
@@ -1,6 +1,7 @@
package KinoSearch::Search::PhraseScorer;
use strict;
use warnings;
+use KinoSearch::Util::VerifyArgs qw(kerror);
use KinoSearch::Util::ToolSet;
use base qw( KinoSearch::Search::Scorer );