/[webpac2]/trunk/lib/WebPAC/Search/Estraier.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 /trunk/lib/WebPAC/Search/Estraier.pm

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

revision 456 by dpavlin, Sat Jan 7 01:40:01 2006 UTC revision 457 by dpavlin, Wed May 10 13:56:28 2006 UTC
# Line 172  sub search { Line 172  sub search {
172          $cond->set_max( $page * $max );          $cond->set_max( $page * $max );
173    
174          my $result = $self->{db}->search($cond, ( $args->{depth} || 0 )) ||          my $result = $self->{db}->search($cond, ( $args->{depth} || 0 )) ||
175                  $log->die("can't search for ", sub { Dumper( $args ) });                  $log->logdie("can't search for ", sub { Dumper( $args ) });
176    
177          my $hits = $result->doc_num;          my $hits = $result->doc_num;
178          $log->debug("found $hits hits for '$q'");          $log->debug("found $hits hits for '$q'");

Legend:
Removed from v.456  
changed lines
  Added in v.457

  ViewVC Help
Powered by ViewVC 1.1.26