Wiki::Toolkit::Setup::SII(3pm)

Wiki::Toolkit::Setup::SII3pm

Set up search::invertedindex indexes for wiki::toolkit

Usage

  use Wiki::Toolkit::Setup::SII;
  my $indexdb = Search::InvertedIndex::DB::Mysql->new(
                   -db_name    => $dbname,
                   -username   => $dbuser,
                   -password   => $dbpass,
           -hostname   => '',
                   -table_name => 'siindex',
                   -lock_mode  => 'EX' );
  Wiki::Toolkit::Setup::SII::setup( indexdb => $indexdb );

Overview

Set up Search::InvertedIndex indexes for use with Wiki::Toolkit. Has only one function, "setup", which takes one mandatory argument, "indexdb", the "Search::InvertedIndex::DB::*" object to use as the backend, and one optional argument, "store", a "Wiki::Toolkit::Store::* object" corresponding to existing data that you wish to (re-)index.

Note that any pre-existing Wiki::Toolkit indexes stored in "indexdb" 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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–13

Author

Kake Pugh ([email protected]).

From libwiki-toolkit-perl 0.86-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.