{
    "content": [
        {
            "type": "text",
            "text": "# Plucene::Index::FieldsWriter (perldoc)\n\n## NAME\n\nPlucene::Index::FieldsWriter - writes Fields to a Document\n\n## SYNOPSIS\n\nmy $writer = Plucene::Index::FieldsWriter->new(\n$dirname, $segment, $fieldinfos);\n$writer->adddocument(Plucene::Document $doc);\n\n## DESCRIPTION\n\nThis class add documents to the appropriate files.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Plucene::Index::FieldsWriter",
        "section": "",
        "mode": "perldoc",
        "summary": "Plucene::Index::FieldsWriter - writes Fields to a Document",
        "synopsis": "my $writer = Plucene::Index::FieldsWriter->new(\n$dirname, $segment, $fieldinfos);\n$writer->adddocument(Plucene::Document $doc);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 15,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}