/[webpac2]/Webpacus/lib/Webpacus/Model/WebPAC.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Model/WebPAC.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 383 by dpavlin, Sun Jan 22 02:52:29 2006 UTC revision 385 by dpavlin, Sun Jan 22 11:32:40 2006 UTC
# Line 214  sub search { Line 214  sub search {
214                  $page = 1;                  $page = 1;
215          }          }
216    
         $times->{est} += time() - $t;  
   
217          $cond->set_max( $page * $max );          $cond->set_max( $page * $max );
218    
219          my $result = $self->{est_node}->search($cond, $args->{depth});          my $result = $self->{est_node}->search($cond, $args->{depth});
220          my $hits = $result->doc_num;          my $hits = $result->doc_num;
221    
222            $times->{est} += time() - $t;
223    
224          $log->debug( sprintf("search took %.6fs and returned $hits hits.", $times->{est}) );          $log->debug( sprintf("search took %.6fs and returned $hits hits.", $times->{est}) );
225    
226            $log->debug( "hints: " . Dumper($result->{hints}) );
227    
228          #          #
229          # fetch results          # fetch results
230          #          #

Legend:
Removed from v.383  
changed lines
  Added in v.385

  ViewVC Help
Powered by ViewVC 1.1.26