--- trunk2/all2all.pl 2004/09/05 22:22:37 411 +++ trunk2/all2all.pl 2004/09/08 15:30:07 415 @@ -25,7 +25,7 @@ my $index = new WebPAC::jsFind( index_path => './out/index', - keys => 80, + keys => 10, ) || die; my $thes; @@ -99,10 +99,12 @@ $thes->{$ds->{'tag'}} ||= new WebPAC::Index; - $thes->{$ds->{'tag'}}->insert( - path => $f, - headline => $headline, - ); + foreach my $h (@{$ds->{'index'}}) { + $thes->{$ds->{'tag'}}->insert( + path => $f, + headline => $h, + ); + } } # print Dumper(\@ds); @@ -117,10 +119,11 @@ next; } - $log->debug("saving sorted index $t [".scalar(@e)." elements]"); + my $file = "./out/bfilter/$t.txt"; + $log->info("saving sorted index $t to '$file' [".scalar(@e)." elements]"); $webpac->output_file( - file => "./out/thes_$t.html", + file => $file, template => 'index.tt', data => \@e, index_name => $t,