NAME
Wiki::Toolkit::Search::DBIxFTS - DBIx::FullTextSearch search plugin for Wiki::Toolkit.
REQUIRES
DBIx::FullTextSearch
SYNOPSIS
my
$store
= Wiki::Toolkit::Store::MySQL->new(
dbname
=>
"wiki"
,
dbpass
=>
"wiki"
);
my
$search
= Wiki::Toolkit::Search::DBIxFTS->new(
dbh
=>
$store
->dbh );
my
%wombat_nodes
=
$search
->search_nodes(
"wombat"
);
Provides search-related methods for Wiki::Toolkit.
See also Wiki::Toolkit::Search::Base, for methods not documented here.
METHODS
- new
-
my
$search
= Wiki::Toolkit::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.)