my $dsn = $Conf{SearchDSN};
my $db_user = $Conf{SearchUser} || '';
-my $index_path = $Conf{HyperEstraierIndex};
-if ($index_path) {
- $index_path = $TopDir . '/' . $index_path;
- $index_path =~ s#//#/#g;
-}
+my $hest_index_path = $Conf{HyperEstraierIndex};
my $dbh;
my $offset = $param->{'offset'} || 0;
$offset *= $on_page;
- die "no index_path?" unless ($index_path);
+ die "no index_path?" unless ($hest_index_path);
use HyperEstraier;
- my ($index_path, $index_node_url) = getHyperEstraier_url($index_path);
+ my ($index_path, $index_node_url) = getHyperEstraier_url($hest_index_path);
# open the database
my $db;