NAME

Plucene::Index::SegmentTermEnum - Segment term enum

SYNOPSIS

        my $seg_term_enum = Plucene::Index::SegmentTermEnum
                ->new(  Plucene::Store::InputStream $i, 
                        Plucene::Index::FieldInfos  $fi, 
                        $is_index);

        my $clone = $seg_term_info->clone;

        my Plucene::Index::Term $term = $seg_term_enum->read_term;

        $seg_term_info->seek($ptr, $position, $term, $term_info);
        $seg_term_enum->prev;
        $seg_term_enum->next;

DESCRIPTION

This is the segment term enum class.

METHODS

new

        my $seg_term_enum = Plucene::Index::SegmentTermEnum
                ->new(  Plucene::Store::InputStream $i, 
                        Plucene::Index::FieldInfos  $fi, 
                        $is_index);

term / term_info / index_pointer / size / position / doc_freq / freq_pointer / prox_pointer

Get / set these attributes.

clone

        my $clone = $seg_term_info->clone;

seek

        $seg_term_info->seek($ptr, $position, $term, $term_info);

prev / next

        $seg_term_enum->prev;
        $seg_term_enum->next;

read_term

        my Plucene::Index::Term $term = $seg_term_enum->read_term;