Plucene::Index::SegmentInfo - phpMan

Command: man perldoc info search(apropos)  


Sections
NAME SYNOPSIS DESCRIPTION METHODS
NAME
    Plucene::Index::SegmentInfo - Information on a Segment

SYNOPSIS
            my $segment_info = Plucene::Index::SegmentInfo->new;

            # get
            my $name = $segment_info->name;
            my $doc_count = $segment_info->doc_count;
            my $dir = $segment_info->dir;

            # set
            $segment_info->name($new_name);
            $segment_info->doc_count($new_doc_count);
            $segment_info->dir($new_dir);

DESCRIPTION
    This class holds information on a segment.

    The index database is composed of 'segments' each stored in a separate
    file. When you add documents to the index, new segments may be created.
    You can compact the database and reduce the number of segments by
    optimizing it.

METHODS
  name / doc_count / dir
    Get / set these attributes.


Generated by phpMan Author: Che Dong On Apache Under GNU General Public License - MarkDown Format
2026-05-23 06:00 @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