17 |
|
|
18 |
my $webpac = new WebPAC( |
my $webpac = new WebPAC( |
19 |
code_page => 'ISO-8859-2', |
code_page => 'ISO-8859-2', |
20 |
limit_mfn => 500, |
# limit_mfn => 500, |
21 |
# debug => 1, |
# debug => 1, |
22 |
) || die; |
) || die; |
23 |
|
|
25 |
|
|
26 |
my $index = new WebPAC::jsFind( |
my $index = new WebPAC::jsFind( |
27 |
index_path => './out/index', |
index_path => './out/index', |
28 |
keys => 80, |
keys => 10, |
29 |
) || die; |
) || die; |
30 |
|
|
31 |
my $thes; |
my $thes; |
101 |
|
|
102 |
$thes->{$ds->{'tag'}}->insert( |
$thes->{$ds->{'tag'}}->insert( |
103 |
path => $f, |
path => $f, |
104 |
headline => $headline, |
headline => join(" ",@{$ds->{'index'}}), |
105 |
); |
); |
106 |
} |
} |
107 |
|
|
117 |
next; |
next; |
118 |
} |
} |
119 |
|
|
120 |
$log->debug("saving sorted index $t [".scalar(@e)." elements]"); |
$log->info("saving sorted index $t [".scalar(@e)." elements]"); |
121 |
|
|
122 |
$webpac->output_file( |
$webpac->output_file( |
123 |
file => "./out/thes_$t.html", |
file => "./out/bfilter/$t.txt", |
124 |
template => 'index.tt', |
template => 'index.tt', |
125 |
data => \@e, |
data => \@e, |
126 |
index_name => $t, |
index_name => $t, |