{
    "mode": "man",
    "parameter": "CREATE_TEXT_SEARCH_CONFIGURATION",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/CREATE_TEXT_SEARCH_CONFIGURATION/7/json",
    "generated": "2026-06-03T01:51:03Z",
    "synopsis": "CREATE TEXT SEARCH CONFIGURATION name (\nPARSER = parsername |\nCOPY = sourceconfig\n)",
    "sections": {
        "NAME": {
            "content": "CREATETEXTSEARCHCONFIGURATION - define a new text search configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "CREATE TEXT SEARCH CONFIGURATION name (\nPARSER = parsername |\nCOPY = sourceconfig\n)\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "CREATE TEXT SEARCH CONFIGURATION creates a new text search configuration. A text search\nconfiguration specifies a text search parser that can divide a string into tokens, plus\ndictionaries that can be used to determine which tokens are of interest for searching.\n\nIf only the parser is specified, then the new text search configuration initially has no\nmappings from token types to dictionaries, and therefore will ignore all words. Subsequent\nALTER TEXT SEARCH CONFIGURATION commands must be used to create mappings to make the\nconfiguration useful. Alternatively, an existing text search configuration can be copied.\n\nIf a schema name is given then the text search configuration is created in the specified\nschema. Otherwise it is created in the current schema.\n\nThe user who defines a text search configuration becomes its owner.\n\nRefer to Chapter 12 for further information.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "name\nThe name of the text search configuration to be created. The name can be\nschema-qualified.\n\nparsername\nThe name of the text search parser to use for this configuration.\n\nsourceconfig\nThe name of an existing text search configuration to copy.\n",
            "subsections": []
        },
        "NOTES": {
            "content": "The PARSER and COPY options are mutually exclusive, because when an existing configuration is\ncopied, its parser selection is copied too.\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "There is no CREATE TEXT SEARCH CONFIGURATION statement in the SQL standard.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "ALTER TEXT SEARCH CONFIGURATION (ALTERTEXTSEARCHCONFIGURATION(7)), DROP TEXT SEARCH\nCONFIGURATION (DROPTEXTSEARCHCONFIGURATION(7))\n\n\n\nPostgreSQL 14.23                                2026             CREATE TEXT SEARCH CONFIGURATION(7)",
            "subsections": []
        }
    },
    "summary": "CREATETEXTSEARCHCONFIGURATION - define a new text search configuration",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "ALTERTEXTSEARCHCONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/ALTERTEXTSEARCHCONFIGURATION/7/json"
        },
        {
            "name": "DROPTEXTSEARCHCONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/DROPTEXTSEARCHCONFIGURATION/7/json"
        },
        {
            "name": "CONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/CONFIGURATION/7/json"
        }
    ]
}