Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Plucene::Index::SegmentInfos

Name Plucene::Index::SegmentInfos
Version
Located at /usr/share/perl5
File /usr/share/perl5/Plucene/Index/SegmentInfos.pm
Is Core No
Search CPAN for this module Plucene::Index::SegmentInfos
Documentation Plucene::Index::SegmentInfos
Module Details Plucene::Index::SegmentInfos

NAME

Plucene::Index::SegmentInfos - A collection of SegmentInfo objects


SYNOPSIS

        my $segmentinfos = Plucene::Index::SegmentInfos->new;
        $segmentinfos->read($dir);
        $segmentinfos->write($dir);
        $segmentinfos->add_element(Plucene::Index::SegmentInfo $segment_info);
        my Plucene::Index::SegmentInfo @segment_info 
                = $segmentinfos->segments;


DESCRIPTION

This is a collection of Plucene::Index::SegmentInfo objects


METHODS

new

        my $segmentinfos = Plucene::Index::SegmentInfos->new;

This will create a new (empty) Plucene::Index::SegmentInfos object.

read

        $segmentinfos->read($dir);

This will read the segments file from the passed directory.

write

        $segmentinfos->write($dir);

This will write the segments info file out.

add_element

        $segmentinfos->add_element(Plucene::Index::SegmentInfo $segment_info);

This will add the passed Plucene::Index::SegmentInfo object..

info

        my Plucene::Index::SegmentInfo $info 
                = $segmentinfos->info($segment_no);

This will return the Plucene::Index::SegmentInfo object at the passed segment number.

segments

        my Plucene::Index::SegmentInfo @segment_info 
                = $segmentinfos->segments;

This returns all the Plucene::Index::SegmentInfo onjects in this segment.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026