--- trunk2/lib/WebPAC/jsFind.pm 2004/07/21 16:18:45 390 +++ trunk2/lib/WebPAC/jsFind.pm 2004/09/05 21:25:10 409 @@ -4,7 +4,7 @@ use strict; use Carp; -use jsFind; +use jsFind 0.04; use Log::Log4perl qw(get_logger :levels); =head1 NAME @@ -26,6 +26,7 @@ my $index = new WebPAC::jsFind( index_path => '/path/to/jsFind/index', keys => 10, + log => 'log4perl.conf', ); C is path to location where jsFind index should be created. @@ -33,6 +34,9 @@ C is optional parametar which specify number of keys in each node (which has to be even number). Default is 10. +C is optional parametar which specify filename of L +config file. Default is C. + =cut sub new { @@ -154,7 +158,7 @@ $log->debug("saving index '$index_name' xml files to '$path'"); - $self->tree($index_name)->to_jsfind($path); + $self->tree($index_name)->to_jsfind($path,'ISO-8859-2','UTF-8'); } }