CGI::Wiki::Setup::DBIxFTSMySQL - set up fulltext indexes for CGI::Wiki


CGI-Wiki documentation  | view source Contained in the CGI-Wiki distribution.

Index


NAME

Top

CGI::Wiki::Setup::DBIxFTSMySQL - set up fulltext indexes for CGI::Wiki

SYNOPSIS

Top

  use CGI::Wiki::Setup::DBIxFTSMySQL;
  CGI::Wiki::Setup::DBIxFTSMySQL::setup($dbname, $dbuser, $dbpass, $dbhost);

Omit $dbhost if the database is local.

DESCRIPTION

Top

Set up DBIx::FullTextSearch indexes for use with CGI::Wiki. Has only one function, setup, which takes as arguments either the database name, the username and the password or a database handle . The username must be able to create and drop tables in the database.

The $dbhost argument is optional -- omit it if the database is local.

Note that any pre-existing CGI::Wiki indexes stored in the database will be cleared by this function, so if you have existing data you probably want to use the store parameter to get it re-indexed.

AUTHOR

Top

Kake Pugh (kake@earth.li).

COPYRIGHT

Top

SEE ALSO

Top

CGI::Wiki, CGI::Wiki::Setup::MySQL, DBIx::FullTextSearch


CGI-Wiki documentation  | view source Contained in the CGI-Wiki distribution.