{
    "mode": "perldoc",
    "parameter": "Plucene::Index::FieldsWriter",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3AIndex%3A%3AFieldsWriter/json",
    "generated": "2026-06-13T03:22:38Z",
    "synopsis": "my $writer = Plucene::Index::FieldsWriter->new(\n$dirname, $segment, $fieldinfos);\n$writer->adddocument(Plucene::Document $doc);",
    "sections": {
        "NAME": {
            "content": "Plucene::Index::FieldsWriter - writes Fields to a Document\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $writer = Plucene::Index::FieldsWriter->new(\n$dirname, $segment, $fieldinfos);\n\n$writer->adddocument(Plucene::Document $doc);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class add documents to the appropriate files.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "new\nmy $writer = Plucene::Index::FieldsWriter->new(\n$dirname, $segment, $fieldinfos);\n\nThis will create a new Plucene::Index::FieldsWriter object with the passed directory name,\nsegment and field infos.\n\nclose\n$writer->close;\n\nadddocument\n$writer->adddocument(Plucene::Document $doc);\n\nThis will add the passed Plucene::Document.\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Index::FieldsWriter - writes Fields to a Document",
    "flags": [],
    "examples": [],
    "see_also": []
}