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

Markdown | JSON | MCP    

NAME
    Plucene::Index::DocumentWriter - the document writer

SYNOPSIS
            my $writer = Plucene::Index::DocumentWriter
                    ->new($directory, $analyser, $max_field_length);

            $writer->add_document($segment, $doc);

DESCRIPTION
    This is the document writer class.

  METHODS
  new
            my $writer = Plucene::Index::DocumentWriter
                    ->new($directory, $analyser, $max_field_length);

    This will create a new Plucene::Index::DocumentWriter object with the passed in arguments.

  add_document
            $writer->add_document($segment, $doc);

Generated by phpman v4.0 Author: Che Dong Under GNU General Public License
2026-06-16 03:34 @216.73.217.83
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!