2 ALTER TEXT SEARCH CONFIGURATION
4 ALTER TEXT SEARCH CONFIGURATION — change the definition of a text
9 ALTER TEXT SEARCH CONFIGURATION name
10 ADD MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ]
11 ALTER TEXT SEARCH CONFIGURATION name
12 ALTER MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ]
13 ALTER TEXT SEARCH CONFIGURATION name
14 ALTER MAPPING REPLACE old_dictionary WITH new_dictionary
15 ALTER TEXT SEARCH CONFIGURATION name
16 ALTER MAPPING FOR token_type [, ... ] REPLACE old_dictionary WITH new_dictio
18 ALTER TEXT SEARCH CONFIGURATION name
19 DROP MAPPING [ IF EXISTS ] FOR token_type [, ... ]
20 ALTER TEXT SEARCH CONFIGURATION name RENAME TO new_name
21 ALTER TEXT SEARCH CONFIGURATION name OWNER TO { new_owner | CURRENT_ROLE | CURRE
22 NT_USER | SESSION_USER }
23 ALTER TEXT SEARCH CONFIGURATION name SET SCHEMA new_schema
27 ALTER TEXT SEARCH CONFIGURATION changes the definition of a text search
28 configuration. You can modify its mappings from token types to
29 dictionaries, or change the configuration's name or owner.
31 You must be the owner of the configuration to use ALTER TEXT SEARCH
37 The name (optionally schema-qualified) of an existing text
41 The name of a token type that is emitted by the configuration's
45 The name of a text search dictionary to be consulted for the
46 specified token type(s). If multiple dictionaries are listed,
47 they are consulted in the specified order.
50 The name of a text search dictionary to be replaced in the
54 The name of a text search dictionary to be substituted for
58 The new name of the text search configuration.
61 The new owner of the text search configuration.
64 The new schema for the text search configuration.
66 The ADD MAPPING FOR form installs a list of dictionaries to be
67 consulted for the specified token type(s); it is an error if there is
68 already a mapping for any of the token types. The ALTER MAPPING FOR
69 form does the same, but first removing any existing mapping for those
70 token types. The ALTER MAPPING REPLACE forms substitute new_dictionary
71 for old_dictionary anywhere the latter appears. This is done for only
72 the specified token types when FOR appears, or for all mappings of the
73 configuration when it doesn't. The DROP MAPPING form removes all
74 dictionaries for the specified token type(s), causing tokens of those
75 types to be ignored by the text search configuration. It is an error if
76 there is no mapping for the token types, unless IF EXISTS appears.
80 The following example replaces the english dictionary with the swedish
81 dictionary anywhere that english is used within my_config.
82 ALTER TEXT SEARCH CONFIGURATION my_config
83 ALTER MAPPING REPLACE english WITH swedish;
87 There is no ALTER TEXT SEARCH CONFIGURATION statement in the SQL
92 CREATE TEXT SEARCH CONFIGURATION, DROP TEXT SEARCH CONFIGURATION