DOKK / manpages / debian 12 / libplucene-perl / Plucene::Index::SegmentTermEnum.3pm.en
Plucene::Index::SegmentTermEnum(3pm) User Contributed Perl Documentation Plucene::Index::SegmentTermEnum(3pm)

Plucene::Index::SegmentTermEnum - Segment term enum

        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;

This is the segment term enum class.

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

Get / set these attributes.

        my $clone = $seg_term_info->clone;

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

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

        my Plucene::Index::Term $term = $seg_term_enum->read_term;
2022-12-04 perl v5.36.0