CGI::Wiki::Search::DBIxFTS - DBIx::FullTextSearch search plugin for CGI::Wiki.
DBIx::FullTextSearch
my $store = CGI::Wiki::Store::MySQL->new( dbname => "wiki", dbpass=>"wiki" ); my $search = CGI::Wiki::Search::DBIxFTS->new( dbh => $store->dbh ); my %wombat_nodes = $search->search_nodes("wombat");
Provides search-related methods for CGI::Wiki.
See also CGI::Wiki::Search::Base, for methods not documented here.
my $search = CGI::Wiki::Search::DBIxFTS->new( dbh => $dbh );
You must supply a handle to a database that has the DBIx::FullTextSearch indexes already set up. (Currently though there's no checking that what you supply is even a database handle at all, let alone one that is compatible with DBIx::FullTextSearch.)
CGI::Wiki, CGI::Wiki::Search::Base.
To install CGI::Wiki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Wiki
CPAN shell
perl -MCPAN -e shell install CGI::Wiki
For more information on module installation, please visit the detailed CPAN module installation guide.