NAME
CGI::Wiki::Search::DBIxFTS - DBIx::FullTextSearch search plugin for CGI::Wiki.
REQUIRES
DBIx::FullTextSearch
SYNOPSIS
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.
METHODS
- new
-
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.)