phpman > perldoc > Plucene::Index::FieldsWriter(3pm)

Markdown | JSON | MCP    

NAME
    Plucene::Index::FieldsWriter - writes Fields to a Document

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

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

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

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 21:06 @216.73.216.215
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!