Plucene::Index::SegmentTermEnum - Segment term enum


Plucene documentation  | view source Contained in the Plucene distribution.

Index


NAME

Top

Plucene::Index::SegmentTermEnum - Segment term enum

SYNOPSIS

Top

	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

Top

This is the segment term enum class.

METHODS

Top

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;


Plucene documentation  | view source Contained in the Plucene distribution.