FreeBSD Manual Pages
Plucene::Index::SegmenUseroContributed Perl DocPlucene::Index::SegmentInfos(3) 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.32.0 2005-09-05 Plucene::Index::SegmentInfos(3)
NAME | SYNOPSIS | DESCRIPTION | METHODS
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plucene::Index::SegmentInfos&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>