Plucen...rmInfo(3pm)
β¨ 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
- debian bookworm: libplucene-perl 1.25-5
- debian trixie: libplucene-perl 1.25-5
- ubuntu noble: libplucene-perl 1.25-5
- ubuntu resolute: libplucene-perl 1.25-5
- ubuntu stonking: libplucene-perl 1.25-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms