Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Plucene::Index::SegmentInfo

Name Plucene::Index::SegmentInfo
Version
Located at /usr/share/perl5
File /usr/share/perl5/Plucene/Index/SegmentInfo.pm
Is Core No
Search CPAN for this module Plucene::Index::SegmentInfo
Documentation Plucene::Index::SegmentInfo
Module Details Plucene::Index::SegmentInfo

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);

=head1 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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026