{
    "mode": "perldoc",
    "parameter": "Plucene::Index::TermInfosWriter",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3AIndex%3A%3ATermInfosWriter/json",
    "generated": "2026-06-13T07:02:36Z",
    "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);",
    "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": []
        }
    },
    "summary": "Plucene::Index::TermInfosWriter - write to the term infos file",
    "flags": [],
    "examples": [],
    "see_also": []
}