|
NAMETk::Pod::Search_db - dirty OO wrapper for "perlindex"'s search functionality SYNOPSIS ** THIS IS ALPHA SOFTWARE everything may and should change **
** stuff here is more a scratch pad than docomentation! **
use Tk::Pod::Search_db;
...
$idx = Tk::Pod::Search_db->new?(INDEXDIR)?;
...
@hits = $idx->searchWords(WORD1,...); # @hits is a list of
# relpath1,score1,... where
# score is increasing
$prefix = $idx->prefix();
@word = Tk::Pod::Search_db::normalize(STRING1,...);
DESCRIPTIONModule to search Pod documentation. Before you can use the module one should create the indices with "perlindex -index". MISSINGEnable options like -maxhits (currently = 15). Solve PREFIX dependency. Interface for @stop and @unknown also as methods return lists for last searchWords call? Lots more ... METHODS
SEE ALSOtkpod, perlindex, perlpod, Tk::Pod::Search AUTHORSAchim Bohnet <ach@mpe.mpg.de> Most of the code here is borrowed from perlindex written by Ulrich Pfeifer <Ulrich.Pfeifer@de.uu.net>. Current maintainer is Slaven Rezić <slaven@rezic.de>. Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|