Parent Directory | Revision Log | Patch
revision 413 by dpavlin, Mon Feb 20 21:47:54 2006 UTC | revision 414 by dpavlin, Mon Feb 20 21:48:47 2006 UTC | |
---|---|---|
# | Line 239 sub search { | Line 239 sub search { |
239 | $cond->set_max( $page * $max ); | $cond->set_max( $page * $max ); |
240 | ||
241 | my $result = $self->{est_node}->search($cond, $args->{depth}); | my $result = $self->{est_node}->search($cond, $args->{depth}); |
242 | if (! $result) { | |
243 | $self->{log}->fatal("search didn't return result"); | |
244 | return; | |
245 | } | |
246 | my $hits = $result->doc_num; | my $hits = $result->doc_num; |
247 | ||
248 | $times->{est} += time() - $t; | $times->{est} += time() - $t; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |