{
    "mode": "perldoc",
    "parameter": "Plucene::Document::Field",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ADocument%3A%3AField/json",
    "generated": "2026-06-13T09:13:55Z",
    "synopsis": "my $field = Plucene::Document::Field->Keyword($name, $string);\nmy $field = Plucene::Document::Field->Text($name, $string);\nmy $field = Plucene::Document::Field->UnIndexded($name, $string);\nmy $field = Plucene::Document::Field->UnStored($name, $string);",
    "sections": {
        "NAME": {
            "content": "Plucene::Document::Field - A field in a Plucene::Document\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $field = Plucene::Document::Field->Keyword($name, $string);\nmy $field = Plucene::Document::Field->Text($name, $string);\n\nmy $field = Plucene::Document::Field->UnIndexded($name, $string);\nmy $field = Plucene::Document::Field->UnStored($name, $string);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Each Plucene::Document is made up of Plucene::Document::Field objects. Each of these fields can\nbe stored, indexed or tokenised.\n",
            "subsections": []
        },
        "FIELDS": {
            "content": "name\nReturns the name of the field.\n\nstring\nReturns the value of the field.\n\nisstored\nReturns true if the field is or will be stored, or false if it was created with \"UnStored\".\n\nisindexed\nReturns true if the field is or will be indexed, or false if it was created with \"UnIndexed\".\n\nistokenized\nReturns true if the field is or will be tokenized, or false if it was created with \"UnIndexed\"\nor \"Keyword\".\n",
            "subsections": []
        },
        "METHODS": {
            "content": "",
            "subsections": [
                {
                    "name": "Keyword",
                    "content": "my $field = Plucene::Document::Field->Keyword($name, $string);\n\nThis will make a new Plucene::Document::Field object that is stored and indexed, but not\ntokenised.\n"
                },
                {
                    "name": "UnIndexed",
                    "content": "my $field = Plucene::Document::Field->UnIndexded($name, $string);\n\nThis will make a new Plucene::Document::Field object that is stored, but not indexed or\ntokenised.\n"
                },
                {
                    "name": "Text",
                    "content": "my $field = Plucene::Document::Field->Text($name, $string);\n\nThis will make a new Plucene::Document::Field object that is stored, indexed and tokenised.\n"
                },
                {
                    "name": "UnStored",
                    "content": "my $field = Plucene::Document::Field->UnStored($name, $string);\n\nThis will make a new Plucene::Document::Field object that isn't stored, but is indexed and\ntokenised.\n"
                }
            ]
        }
    },
    "summary": "Plucene::Document::Field - A field in a Plucene::Document",
    "flags": [],
    "examples": [],
    "see_also": []
}