{
    "mode": "perldoc",
    "parameter": "Plucene::Index::Term",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3AIndex%3A%3ATerm/json",
    "generated": "2026-06-14T12:50:45Z",
    "synopsis": "my $term = Plucene::Index::Term->new({\nfield => $fieldname,\ntext  => $text,\n});\n# with two Plucene::Index::Term objects you can do:\nif ($term1->eq($term2)) { ... }\n# etc",
    "sections": {
        "NAME": {
            "content": "Plucene::Index::Term - a word from text\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $term = Plucene::Index::Term->new({\nfield => $fieldname,\ntext  => $text,\n});\n\n# with two Plucene::Index::Term objects you can do:\n\nif ($term1->eq($term2)) { ... }\n\n# etc\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A Term represents a word from text, and is the unit of search. It is composed of two elements,\nthe text of the word, as a string, and the name of the field that the text occured in, as a\nstring.\n\nNote that terms may represent more than words from text fields, but also things like dates,\nemail addresses, urls, etc.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "eq / ne / lt / gt / ge / le\nExactly what you would think they are.\n",
            "subsections": []
        }
    },
    "summary": "Plucene::Index::Term - a word from text",
    "flags": [],
    "examples": [],
    "see_also": []
}