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::TermInfo

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

NAME

Plucene::Index::TermInfo - Information on an index term


SYNOPSIS

        my $term_info = Plucene::Index::TermInfo->new({
                        doc_freq     => $doc_freq,
                        freq_pointer => $freq_pointer,
                        prox_pointer => $prox_pointer,
        });


DESCRIPTION

This class holds information about an index term.


METHODS

doc_freq / freq_pointer / prox_pointer

Get / set term info.

copy_in / clone

        $term_info1->copy_in($term_info2);
        my $term_info1 = $term_info2->clone;

These will make $term_info1 be the same as $term_info2.


=cut

sub copy_in { my ($self, $other) = @_; %$self = %$other; return $self; }

sub clone { my $self = shift; return bless {%$self} => ref $self; }

1;

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