1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
>ALTER TEXT SEARCH DICTIONARY</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
12
TITLE="PostgreSQL 9.1beta1 Documentation"
13
HREF="index.html"><LINK
16
HREF="sql-commands.html"><LINK
18
TITLE="ALTER TEXT SEARCH CONFIGURATION"
19
HREF="sql-altertsconfig.html"><LINK
21
TITLE="ALTER TEXT SEARCH PARSER"
22
HREF="sql-altertsparser.html"><LINK
25
HREF="stylesheet.css"><META
26
HTTP-EQUIV="Content-Type"
27
CONTENT="text/html; charset=ISO-8859-1"><META
29
CONTENT="2011-04-27T21:20:33"></HEAD
35
SUMMARY="Header navigation table"
47
>PostgreSQL 9.1beta1 Documentation</A
56
TITLE="ALTER TEXT SEARCH CONFIGURATION"
57
HREF="sql-altertsconfig.html"
66
TITLE="ALTER TEXT SEARCH CONFIGURATION"
67
HREF="sql-altertsconfig.html"
80
TITLE="ALTER TEXT SEARCH PARSER"
81
HREF="sql-altertsparser.html"
89
TITLE="ALTER TEXT SEARCH PARSER"
90
HREF="sql-altertsparser.html"
101
NAME="SQL-ALTERTSDICTIONARY"
103
>ALTER TEXT SEARCH DICTIONARY</H1
111
>ALTER TEXT SEARCH DICTIONARY -- change the definition of a text search dictionary</DIV
113
CLASS="REFSYNOPSISDIV"
121
>ALTER TEXT SEARCH DICTIONARY <TT
139
ALTER TEXT SEARCH DICTIONARY <TT
150
ALTER TEXT SEARCH DICTIONARY <TT
161
ALTER TEXT SEARCH DICTIONARY <TT
183
>ALTER TEXT SEARCH DICTIONARY</TT
184
> changes the definition of
185
a text search dictionary. You can change the dictionary's
186
template-specific options, or change the dictionary's name or owner.
189
> You must be the owner of the dictionary to use
192
>ALTER TEXT SEARCH DICTIONARY</TT
217
> The name (optionally schema-qualified) of an existing text search
230
> The name of a template-specific option to be set for this dictionary.
242
> The new value to use for a template-specific option.
243
If the equal sign and value are omitted, then any previous
244
setting for the option is removed from the dictionary,
245
allowing the default to be used.
257
> The new name of the text search dictionary.
269
> The new owner of the text search dictionary.
281
> The new schema for the text search dictionary.
287
> Template-specific options can appear in any order.
298
> The following example command changes the stopword list
299
for a Snowball-based dictionary. Other parameters remain unchanged.
302
CLASS="PROGRAMLISTING"
303
>ALTER TEXT SEARCH DICTIONARY my_dict ( StopWords = newrussian );</PRE
305
> The following example command changes the language option to dutch,
306
and removes the stopword option entirely.
309
CLASS="PROGRAMLISTING"
310
>ALTER TEXT SEARCH DICTIONARY my_dict ( language = dutch, StopWords );</PRE
312
> The following example command <SPAN
316
definition without actually changing anything.
319
CLASS="PROGRAMLISTING"
320
>ALTER TEXT SEARCH DICTIONARY my_dict ( dummy );</PRE
323
(The reason this works is that the option removal code doesn't complain
324
if there is no such option.) This trick is useful when changing
325
configuration files for the dictionary: the <TT
329
force existing database sessions to re-read the configuration files,
330
which otherwise they would never do if they had read them earlier.
343
>ALTER TEXT SEARCH DICTIONARY</TT
356
HREF="sql-createtsdictionary.html"
357
>CREATE TEXT SEARCH DICTIONARY</A
359
HREF="sql-droptsdictionary.html"
360
>DROP TEXT SEARCH DICTIONARY</A
367
SUMMARY="Footer navigation table"
378
HREF="sql-altertsconfig.html"
396
HREF="sql-altertsparser.html"
406
>ALTER TEXT SEARCH CONFIGURATION</TD
412
HREF="sql-commands.html"
420
>ALTER TEXT SEARCH PARSER</TD
b'\\ No newline at end of file'