Dominic Hargreaves > Wiki-Toolkit-0.81 > Wiki::Toolkit::Search::DBIxFTS

Download:
Wiki-Toolkit-0.81.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.05   Source   Latest Release: Wiki-Toolkit-0.84

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.)

SEE ALSO ^

Wiki::Toolkit, Wiki::Toolkit::Search::Base.

syntax highlighting: