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

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

NAME

Plucene::Index::SegmentTermPositions - Segment term positions


SYNOPSIS

        # isa Plucene::Index::SegmentTermDocs
        $seg_term_pos->skipping_doc;
        my $next = $seg_term_pos->next_position;


DESCRIPTION

This is the segment term positions class.


METHODS

new

        my $seg_term_pos = Plucene::Index::SegmentTermPositions
                ->new(Plucene::Index::SegmentReader $seg_reader);
=cut

# SegmentTermPositions(SegmentReader p) throws IOException { # super(p); # this.proxStream = (InputStream)parent.proxStream.clone(); # }

sub new { my $self = shift->SUPER::new(@_); $self->{_prox_stream} = $self->parent->prox_stream; $self->{_prox_ptr} = 0; $self->{_prox_count} = 0; return $self; }

# final void seek(TermInfo ti) throws IOException { # super.seek(ti); # if (ti != null) # proxStream.seek(ti.proxPointer); # else # proxCount = 0; # }

sub _seek { my ($self, $ti) = @_; $self->SUPER::_seek($ti); if ($ti) { $self->{_prox_ptr} = $ti->prox_pointer; } else { $self->{_prox_count} = 0; } }

close

        $seg_term_pos->close;

next_position

        my $next = $seg_term_pos->next_position;

skipping_doc

        $seg_term_pos->skipping_doc;

read

This should not be called

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