man > Plucene::Index::FieldsReader

NAME
    Plucene::Index::FieldsReader - read Fields in a Document

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

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

            my $size = $reader->size;

DESCRIPTION
    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.

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-12 06:40 @2600:1f28:365:80b0:6f72:a904:73b0:e266
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!