Plucene::Index::SegmentInfos - phpMan

Command: man perldoc info search(apropos)  


Sections
NAME SYNOPSIS DESCRIPTION METHODS
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.


Generated by phpMan Author: Che Dong On Apache Under GNU General Public License - MarkDown Format
2026-05-23 06:50 @216.73.217.24 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!

^_back to top