GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PLUCENE::INDEX::SEGMENTINFO (3)

.ds Aq ’

NAME

Plucene::Index::SegmentInfo - Information on a Segment

CONTENTS

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLUCENE::INDEX::SEGMENTINFO (3) 2005-09-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.