1Wiki::Toolkit::Setup::SUIsIe(r3)Contributed Perl DocumenWtiaktii:o:nToolkit::Setup::SII(3)
2
3
4
6 Wiki::Toolkit::Setup::SII - Set up Search::InvertedIndex indexes for
7 Wiki::Toolkit
8
10 use Wiki::Toolkit::Setup::SII;
11 my $indexdb = Search::InvertedIndex::DB::Mysql->new(
12 -db_name => $dbname,
13 -username => $dbuser,
14 -password => $dbpass,
15 -hostname => '',
16 -table_name => 'siindex',
17 -lock_mode => 'EX' );
18 Wiki::Toolkit::Setup::SII::setup( indexdb => $indexdb );
19
21 Set up Search::InvertedIndex indexes for use with Wiki::Toolkit. Has
22 only one function, "setup", which takes one mandatory argument,
23 "indexdb", the "Search::InvertedIndex::DB::*" object to use as the
24 backend, and one optional argument, "store", a "Wiki::Toolkit::Store::*
25 object" corresponding to existing data that you wish to (re-)index.
26
27 Note that any pre-existing Wiki::Toolkit indexes stored in "indexdb"
28 will be cleared by this function, so if you have existing data you
29 probably want to use the "store" parameter to get it re-indexed.
30
32 Kake Pugh (kake@earth.li).
33
35 Copyright (C) 2002 Kake Pugh. All Rights Reserved.
36
37 This module is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
41 Wiki::Toolkit, Wiki::Toolkit::Setup::MySQL, DBIx::FullTextSearch
42
43
44
45perl v5.30.1 2020-01-30 Wiki::Toolkit::Setup::SII(3)