Wiki::...up::SII(3pm)

πŸ“¦
version 0.86 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

okay so this is the Wiki::Toolkit::Setup::SII page β€” the 3pm one, from the User Contributed Perl Documentation β€” and it's literally here to set up Search::InvertedIndex indexes for Wiki::Toolkit. Obsessed. πŸ¦‹

✨ SYNOPSIS ✨

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

πŸŽ€ DESCRIPTION πŸŽ€

So this module sets up Search::InvertedIndex indexes for use with Wiki::Toolkit. It has exactly one function, setup, and that function takes:

  • one mandatory argument, indexdb β€” the Search::InvertedIndex::DB::* object you're using as the backend.
  • one optional argument, store β€” a Wiki::Toolkit::Store::* object corresponding to existing data that you wish to (re-)index.
⚠️ bestie, listen: 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. No cap, that's important. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Shoutout to Kake Pugh (kake@earth.li). Iconic. πŸ’–

Copyright (C) 2002 Kake Pugh. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

πŸ”₯ SEE ALSO πŸ”₯

  • Wiki::Toolkit
  • Wiki::Toolkit::Setup::MySQL
  • DBIx::FullTextSearch

πŸ’– that's the whole page, bestie β€” it's from perl v5.32.0, dated 2021-01-04, with the footer's cute truncated title Wiki::...up::SII(3pm). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from