Plucene::Index::SegmentInfos(3pm) - phpMan

Command: man perldoc info search(apropos)  


Plucene::Index::SegmentInfos(3pUser Contributed Perl DocumentatiPlucene::Index::SegmentInfos(3pm)

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 v5.26.1                                2018-04-02          Plucene::Index::SegmentInfos(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-01-15 01:10 @18.188.233.69 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!