summaryrefslogtreecommitdiffstats
path: root/staticweb/man.pl
diff options
context:
space:
mode:
Diffstat (limited to 'staticweb/man.pl')
-rwxr-xr-xstaticweb/man.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticweb/man.pl b/staticweb/man.pl
index 94e94640..661013fc 100755
--- a/staticweb/man.pl
+++ b/staticweb/man.pl
@@ -124,7 +124,7 @@ sub search($)
my($key) = @_;
my(%th, $idx, $k, $t0);
$t0 = [gettimeofday()];
- $idx = OurNet::FuzzyIndex->new("$MANDATA/$brdname.idx");
+ $idx = OurNet::FuzzyIndex->new("$MANIDX/$brdname.idx");
my %result = $idx->query($th{key} = $key, MATCH_FUZZY);
foreach my $t (sort { $result{$b} <=> $result{$a} } keys(%result)) {
$k = $idx->getkey($t);