Plucene::Index::FieldsWriter(3pm)

Plucene::Index::FieldsWriter3pm

Writes fields to a document

Usage

        my $writer = Plucene::Index::FieldsWriter->new(
                $dir_name, $segment, $field_infos);
        $writer->add_document(Plucene::Document $doc);

Overview

This class add documents to the appropriate files.

Methods

new

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

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

close

        $writer->close;

add_document

        $writer->add_document(Plucene::Document $doc);

This will add the passed Plucene::Document.

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.