{
    "mode": "perldoc",
    "parameter": "Plucene::Index::DocumentWriter",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3AIndex%3A%3ADocumentWriter/json",
    "generated": "2026-07-05T13:43:52Z",
    "synopsis": "my $writer = Plucene::Index::DocumentWriter\n->new($directory, $analyser, $maxfieldlength);\n$writer->adddocument($segment, $doc);",
    "sections": {
        "NAME": {
            "content": "Plucene::Index::DocumentWriter - the document writer\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $writer = Plucene::Index::DocumentWriter\n->new($directory, $analyser, $maxfieldlength);\n\n$writer->adddocument($segment, $doc);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is the document writer class.\n\nMETHODS\nnew\nmy $writer = Plucene::Index::DocumentWriter\n->new($directory, $analyser, $maxfieldlength);\n\nThis will create a new Plucene::Index::DocumentWriter object with the passed in arguments.\n\nadddocument\n$writer->adddocument($segment, $doc);\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Index::DocumentWriter - the document writer",
    "flags": [],
    "examples": [],
    "see_also": []
}