{
    "mode": "man",
    "parameter": "CREATE_TEXT_SEARCH_DICTIONARY",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/CREATE_TEXT_SEARCH_DICTIONARY/7/json",
    "generated": "2026-10-05T20:53:18Z",
    "synopsis": "CREATE TEXT SEARCH DICTIONARY name (\nTEMPLATE = template\n[, option = value [, ... ]]\n)",
    "sections": {
        "NAME": {
            "content": "CREATETEXTSEARCHDICTIONARY - define a new text search dictionary\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "CREATE TEXT SEARCH DICTIONARY name (\nTEMPLATE = template\n[, option = value [, ... ]]\n)\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "CREATE TEXT SEARCH DICTIONARY creates a new text search dictionary. A text search dictionary\nspecifies a way of recognizing interesting or uninteresting words for searching. A dictionary\ndepends on a text search template, which specifies the functions that actually perform the\nwork. Typically the dictionary provides some options that control the detailed behavior of\nthe template's functions.\n\nIf a schema name is given then the text search dictionary is created in the specified schema.\nOtherwise it is created in the current schema.\n\nThe user who defines a text search dictionary becomes its owner.\n\nRefer to Chapter 12 for further information.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "name\nThe name of the text search dictionary to be created. The name can be schema-qualified.\n\ntemplate\nThe name of the text search template that will define the basic behavior of this\ndictionary.\n\noption\nThe name of a template-specific option to be set for this dictionary.\n\nvalue\nThe value to use for a template-specific option. If the value is not a simple identifier\nor number, it must be quoted (but you can always quote it, if you wish).\n\nThe options can appear in any order.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "The following example command creates a Snowball-based dictionary with a nonstandard list of\nstop words.\n\nCREATE TEXT SEARCH DICTIONARY myrussian (\ntemplate = snowball,\nlanguage = russian,\nstopwords = myrussian\n);\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "There is no CREATE TEXT SEARCH DICTIONARY statement in the SQL standard.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "ALTER TEXT SEARCH DICTIONARY (ALTERTEXTSEARCHDICTIONARY(7)), DROP TEXT SEARCH DICTIONARY\n(DROPTEXTSEARCHDICTIONARY(7))\n\nPostgreSQL 16.14                                2026                CREATE TEXT SEARCH DICTIONARY(7)",
            "subsections": []
        }
    },
    "summary": "CREATETEXTSEARCHDICTIONARY - define a new text search dictionary",
    "flags": [],
    "examples": [
        "The following example command creates a Snowball-based dictionary with a nonstandard list of",
        "stop words.",
        "CREATE TEXT SEARCH DICTIONARY myrussian (",
        "template = snowball,",
        "language = russian,",
        "stopwords = myrussian",
        ");"
    ],
    "see_also": [
        {
            "name": "ALTERTEXTSEARCHDICTIONARY",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/ALTERTEXTSEARCHDICTIONARY/7/json"
        },
        {
            "name": "DROPTEXTSEARCHDICTIONARY",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/DROPTEXTSEARCHDICTIONARY/7/json"
        },
        {
            "name": "DICTIONARY",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/DICTIONARY/7/json"
        }
    ]
}