--- Webpacus/lib/Webpacus/Model/WebPAC.pm 2006/01/22 02:52:29 383 +++ Webpacus/lib/Webpacus/Model/WebPAC.pm 2006/01/22 10:58:58 384 @@ -214,13 +214,13 @@ $page = 1; } - $times->{est} += time() - $t; - $cond->set_max( $page * $max ); my $result = $self->{est_node}->search($cond, $args->{depth}); my $hits = $result->doc_num; + $times->{est} += time() - $t; + $log->debug( sprintf("search took %.6fs and returned $hits hits.", $times->{est}) ); #