26 |
my $index = new WebPAC::jsFind( |
my $index = new WebPAC::jsFind( |
27 |
index_path => '/path/to/jsFind/index', |
index_path => '/path/to/jsFind/index', |
28 |
keys => 10, |
keys => 10, |
29 |
|
log => 'log4perl.conf', |
30 |
); |
); |
31 |
|
|
32 |
C<index> is path to location where jsFind index should be created. |
C<index> is path to location where jsFind index should be created. |
34 |
C<keys> is optional parametar which specify number of keys in each node |
C<keys> is optional parametar which specify number of keys in each node |
35 |
(which has to be even number). Default is 10. |
(which has to be even number). Default is 10. |
36 |
|
|
37 |
|
C<log> is optional parametar which specify filename of L<Log::Log4Perl> |
38 |
|
config file. Default is C<log.conf>. |
39 |
|
|
40 |
=cut |
=cut |
41 |
|
|
42 |
sub new { |
sub new { |