{
    "content": [
        {
            "type": "text",
            "text": "# Plucene::Index::SegmentInfo (perldoc)\n\n## NAME\n\nPlucene::Index::SegmentInfo - Information on a Segment\n\n## SYNOPSIS\n\nmy $segmentinfo = Plucene::Index::SegmentInfo->new;\n# get\nmy $name = $segmentinfo->name;\nmy $doccount = $segmentinfo->doccount;\nmy $dir = $segmentinfo->dir;\n# set\n$segmentinfo->name($newname);\n$segmentinfo->doccount($newdoccount);\n$segmentinfo->dir($newdir);\n\n## DESCRIPTION\n\nThis class holds information on a segment.\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::SegmentInfo",
        "section": "",
        "mode": "perldoc",
        "summary": "Plucene::Index::SegmentInfo - Information on a Segment",
        "synopsis": "my $segmentinfo = Plucene::Index::SegmentInfo->new;\n# get\nmy $name = $segmentinfo->name;\nmy $doccount = $segmentinfo->doccount;\nmy $dir = $segmentinfo->dir;\n# set\n$segmentinfo->name($newname);\n$segmentinfo->doccount($newdoccount);\n$segmentinfo->dir($newdir);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Plucene::Index::SegmentInfo - Information on a Segment\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "my $segmentinfo = Plucene::Index::SegmentInfo->new;\n\n# get\nmy $name = $segmentinfo->name;\nmy $doccount = $segmentinfo->doccount;\nmy $dir = $segmentinfo->dir;\n\n# set\n$segmentinfo->name($newname);\n$segmentinfo->doccount($newdoccount);\n$segmentinfo->dir($newdir);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class holds information on a segment.\n\nThe index database is composed of 'segments' each stored in a separate file. When you add\ndocuments to the index, new segments may be created. You can compact the database and reduce the\nnumber of segments by optimizing it.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "name / doccount / dir\nGet / set these attributes.\n",
                "subsections": []
            }
        }
    }
}