Plucene::Index::SegmentMerger - the Segment merger
my $merger = Plucene::Index::SegmentMerger->new(); $merger->add(Plucene::Index::SegmentReader $reader); $merger->merge;
This is the segment merger class.
my $merger = Plucene::Index::SegmentMerger->new();
This will create a new Plucene::Index::SegmentMerger object.
$merger->add(Plucene::Index::SegmentReader $reader);
$merger->merge;
Perform the merging. After the merge, there will be no readers left stored in the merger object.
To install Plucene, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plucene
CPAN shell
perl -MCPAN -e shell install Plucene
For more information on module installation, please visit the detailed CPAN module installation guide.