{
    "content": [
        {
            "type": "text",
            "text": "# Plucene::Search::Similarity (perldoc)\n\n## NAME\n\nPlucene::Search::Similarity - the score of a query\n\n## DESCRIPTION\n\nThe score of a query for a given document.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **METHODS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Plucene::Search::Similarity",
        "section": "",
        "mode": "perldoc",
        "summary": "Plucene::Search::Similarity - the score of a query",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 15,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}