Plucen...rmInfo(3pm)

πŸ“¦
version 1.25 Β· 2 versions
  • 1.25 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.25 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ Plucene::Index::TermInfo ✨

okay bestie so this is Plucene::Index::TermInfo, a lil Perl module from the User Contributed Perl Documentation, and it's literally just a lil container that holds info about an index term πŸ’– that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

here's how you birth one of these babies:

my $term_info = Plucene::Index::TermInfo->new({
                doc_freq     => $doc_freq,
                freq_pointer => $freq_pointer,
                prox_pointer => $prox_pointer,
});

look at that. gorgeous. new takes a hashref with those three keys and you're done πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

This class holds information about an index term. that's it. that's the whole class. it's giving "i contain multitudes (the multitudes are three fields)" πŸ’…


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ doc_freq / freq_pointer / prox_pointer

Get / set term info. yes bestie, all three, they're accessors, they get, they set, they serve 🫢

πŸ’œ copy_in / clone

two ways to make one term info be another term info:

$term_info1->copy_in($term_info2);

my $term_info1 = $term_info2->clone;

These will make $term_info1 be the same as $term_info2. that's it β€” copy_in mutates the one you call it on, clone hands you a fresh lil copy. both iconic, both valid, pick your fighter ✨


fr fr that's the entire module. short, sweet, and absolutely ate πŸ’… no bugs mentioned, no warnings, just vibes and three pointers.

kisses and bye bye bestie! this was Plucene::Index::TermInfo, part of the User Contributed Perl Documentation, running on perl v5.36.0 and last touched 2022-12-04 πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from