{
    "mode": "perldoc",
    "parameter": "Plucene::Search::Hits",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3AHits/json",
    "generated": "2026-06-13T09:28:14Z",
    "synopsis": "my $hits = Plucene::Search::Hits->new;\nmy     $doc = $hits->doc($n);\nmy   $score = $hits->score($n);\nmy $hitdoc = $hits->hitdoc($n);",
    "sections": {
        "NAME": {
            "content": "Plucene::Search::Hits - A list of ranked documents\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $hits = Plucene::Search::Hits->new;\n\nmy     $doc = $hits->doc($n);\nmy   $score = $hits->score($n);\nmy $hitdoc = $hits->hitdoc($n);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a list of ranked documents, used to hold search results.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "new\nmy $hits = Plucene::Search::Hits->new;\n\nquery / searcher / filter / length / hitdocs / first /\nlast / numdocs / maxdocs\nGet / set these attributes.\n\ndoc\nmy $doc = $hits->doc($n);\n\nReturns the nth document.\n\nscore\nmy $score = $hits->score($n);\n\nThe score of the nth document.\n\nhitdoc\nmy $hitdoc = $hits->hitdoc($n);\n\nReturns the nth hit document.\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Search::Hits - A list of ranked documents",
    "flags": [],
    "examples": [],
    "see_also": []
}