[Koha-patches] [PATCH] (bug #3172) support stemming for all languages using lingua::stem::snowball

LAURENT Henri-Damien henridamien at koha-fr.org
Wed Apr 29 18:10:37 CEST 2009


Joe Atzberger a écrit :
>
>     + require Lingua::Stem::Snowball;
>     ...
>     +  'Lingua::Stem::Snowball'           => 0.952, # optional
>
>
> It doesn't look optional if Search.pm requires it.
> --Joe
As it is now,
without
if $C4::Context->preference("QueryStemming"){
require Lingua::Stem::Snowball;
}

It is not optional.
But if it was encapsulated into an if then it would become optional, 
which would be better than making it mandatory.
-- 
Henri-Damien LAURENT



More information about the Koha-patches mailing list