{
    "content": [
        {
            "type": "text",
            "text": "# Plucene::Index::TermInfosWriter (perldoc)\n\n## NAME\n\nPlucene::Index::TermInfosWriter - write to the term infos file\n\n## SYNOPSIS\n\nmy $writer = Plucene::Index::TermInfosWriter->new(\n$dirname, $segment, $fieldinfos);\n$writer->add(Plucene::Index::Term $term,\nPlucene::Index::TermInfo $terminfo);\n$writer->writeterm(Plucene::Index::Term $term);\n\n## DESCRIPTION\n\nThis will allow for the writing and adding to a term infos file for a particular segment. It\nalso writes the term infos index.\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::TermInfosWriter",
        "section": "",
        "mode": "perldoc",
        "summary": "Plucene::Index::TermInfosWriter - write to the term infos file",
        "synopsis": "my $writer = Plucene::Index::TermInfosWriter->new(\n$dirname, $segment, $fieldinfos);\n$writer->add(Plucene::Index::Term $term,\nPlucene::Index::TermInfo $terminfo);\n$writer->writeterm(Plucene::Index::Term $term);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 20,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Plucene::Index::TermInfosWriter - write to the term infos file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $writer = Plucene::Index::TermInfosWriter->new(\n$dirname, $segment, $fieldinfos);\n\n$writer->add(Plucene::Index::Term $term,\nPlucene::Index::TermInfo $terminfo);\n\n$writer->writeterm(Plucene::Index::Term $term);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This will allow for the writing and adding to a term infos file for a particular segment. It\nalso writes the term infos index.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "new\nmy $writer = Plucene::Index::TermInfosWriter->new(\n$dirname, $segment, $fieldinfos);\n\nThis will create a new Plucene::Index::TermInfosWriter object.\n\nbreakref\nThis will break a circular reference.\n\nadd\n$writer->add(Plucene::Index::Term $term,\nPlucene::Index::TermInfo $terminfo);\n\nThis will add the term and term info to the term infos file.\n\nwriteterm\n$writer->writeterm(Plucene::Index::Term $term);\n\nThis will write the term to the term infos file.\n",
                "subsections": []
            }
        }
    }
}