|
NAMEPlucene::Index::SegmentInfos - A collection of SegmentInfo objectsSYNOPSISmy $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; DESCRIPTIONThis is a collection of Plucene::Index::SegmentInfo objectsMETHODSnewmy $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.. infomy Plucene::Index::SegmentInfo $info = $segmentinfos->info($segment_no); This will return the Plucene::Index::SegmentInfo object at the passed segment number. segmentsmy Plucene::Index::SegmentInfo @segment_info = $segmentinfos->segments; This returns all the Plucene::Index::SegmentInfo onjects in this segment.
Visit the GSP FreeBSD Man Page Interface. |