{
    "mode": "perldoc",
    "parameter": "Plucene::Search::Similarity",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3ASimilarity/json",
    "generated": "2026-06-12T08:45:12Z",
    "sections": {
        "NAME": {
            "content": "Plucene::Search::Similarity - the score of a query\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The score of a query for a given document.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "norm\nmy $norm = $sim->norm($numterm);\n\nbytenorm\nmy $bytenorm = $sim->bytenorm($byte);\n\ntf\nComputes a score factor based on a term or phrase's frequency in a document.\n\nidf\nComputes a score factor for a phrase.\n\ncoord\nComputes a score factor based on the fraction of all query terms that a document contains.\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Search::Similarity - the score of a query",
    "flags": [],
    "examples": [],
    "see_also": []
}