Wiki::...BIxFTS(3pm)

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

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the Wiki::...BIxFTS(3pm) page β€” this one's about Wiki::Toolkit::Search::DBIxFTS, which is literally the DBIx::FullTextSearch search plugin for Wiki::Toolkit. no cap, that's the whole vibe. ✨

🌸 REQUIRES 🌸

  • DBIx::FullTextSearch β€” you need this installed, fr fr. it's giving mandatory bestie energy. πŸ’–

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

okay so this plugin provides the search-related methods for Wiki::Toolkit, and if you want the methods that aren't documented here, go look at Wiki::Toolkit::Search::Base β€” see also, bestie. 🫢

πŸ’… METHODS πŸ’…

new

             my $search = Wiki::Toolkit::Search::DBIxFTS->new( dbh => $dbh );

so like, you must supply a handle to a database that already has the DBIx::FullTextSearch indexes set up. that part is non-negotiable, periodt. πŸ”₯

real talk though: currently there's no checking that what you supply is even a database handle at all 😭 β€” let alone one that's compatible with DBIx::FullTextSearch. so, yeah, lowkey the vibe check is on you, iykyk. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Wiki::Toolkit
  • Wiki::Toolkit::Search::Base

mwah πŸ’‹ this little gem comes from perl v5.32.0, dated 2021-01-04, and it's the Wiki::...BIxFTS(3pm) manual page β€” iconic, honestly. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from