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 |
# |
# |