SYNOPSIS

        my $reader = Plucene::Index::TermInfosReader->new(
                        $dir_name, $segment, $fis);

        my Plucene::Index::TermInfo $term_info =
                $reader->get(Plucene::Index::Term $term);

        my Plucene::Index::SegmentTermEnum $enum =
                $reader->terms(Plucene::Index::Term $term);

DESCRIPTION

This reads a term infos file.

METHODS

new

my $reader = Plucene::Index::TermInfosReader->new( $dir_name, $segment, $fis);

This will create a new Plucene::Index::TermInfosReader object with the passed directory name, segment name and field infos.

get

my Plucene::Index::TermInfo $term_info = $reader->get(Plucene::Index::Term $term);

get_int / get_position

These are never called.

terms

my Plucene::Index::SegmentTermEnum $enum = $reader->terms(Plucene::Index::Term $term);

This will return the Plucene::Index::SegmentTermEnum for the passed-in Plucene::Index::Term.