Plucen...tMerger(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::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