Plucen...tMerger(3pm)
π Plucene::Index::SegmentMerger β the Segment merger π
okay bestie, so this is Plucene::Index::SegmentMerger, from the Perl side of things (the 3pm crew π«Ά). It's the segment merger class. That's the whole vibe. Let's get into it.
β¨ SYNOPSIS β¨
my $merger = Plucene::Index::SegmentMerger->new();
$merger->add(Plucene::Index::SegmentReader $reader);
$merger->merge;
likeβ¦ look at that. so clean. so slay. π
πΈ DESCRIPTION πΈ
This is the segment merger class. periodt. that's the description, no notes, she said what she said π
π¦ METHODS π¦
π new
my $merger = Plucene::Index::SegmentMerger->new();
This will create a new Plucene::Index::SegmentMerger object. brand new, fresh out the box, main character energy only β¨
π add
$merger->add(Plucene::Index::SegmentReader $reader);
π segment_reader
(she's here. she's listed. she's iconic and mysterious and that's all we're getting π)
π merge
$merger->merge;
Perform the merging. and here's the important part, bestie, listen up: after the merge, there will be no readers left stored in the merger object. like, they're gone. not hiding, not napping, gone. so don't go looking for them after π
no cap, that's the whole page β short and sweet and honestly? obsessed. π
signing off with love: this page is from the User Contributed Perl Documentation, and it's running on perl v5.36.0, dated 2022-12-04. mwah π
π¦ 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