Plucene::Index::FieldsReader(3pm)

Plucene::Index::FieldsReader3pm

Read fields in a document

Usage

        my $reader = Plucene::Index::FieldsReader->new(
                $dir_name, $segment, $field_infos);
        my Plucene::Document $doc = $reader->doc($offset);
        my $size = $reader->size;

Overview

This class gives access to documents within the index.

Methods

new

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

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

size

        my $size = $reader->size;

This returns the size.

doc

        my Plucene::Document $doc = $reader->doc($offset);

This will return the Plucene::Document object found at the passed in position.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7–9
  5. 10–11
  6. 12–13

From libplucene-perl 1.25-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.