1CREATE TEXT SEARCH DICTIOPNoAsRtYg(r7e)SQL 9.2.24 DocumCeRnEtAaTtEioTnEXT SEARCH DICTIONARY(7)
2
3
4
6 CREATE_TEXT_SEARCH_DICTIONARY - define a new text search dictionary
7
9 CREATE TEXT SEARCH DICTIONARY name (
10 TEMPLATE = template
11 [, option = value [, ... ]]
12 )
13
15 CREATE TEXT SEARCH DICTIONARY creates a new text search dictionary. A
16 text search dictionary specifies a way of recognizing interesting or
17 uninteresting words for searching. A dictionary depends on a text
18 search template, which specifies the functions that actually perform
19 the work. Typically the dictionary provides some options that control
20 the detailed behavior of the template's functions.
21
22 If a schema name is given then the text search dictionary is created in
23 the specified schema. Otherwise it is created in the current schema.
24
25 The user who defines a text search dictionary becomes its owner.
26
27 Refer to Chapter 12, Full Text Search, in the documentation for further
28 information.
29
31 name
32 The name of the text search dictionary to be created. The name can
33 be schema-qualified.
34
35 template
36 The name of the text search template that will define the basic
37 behavior of this dictionary.
38
39 option
40 The name of a template-specific option to be set for this
41 dictionary.
42
43 value
44 The value to use for a template-specific option. If the value is
45 not a simple identifier or number, it must be quoted (but you can
46 always quote it, if you wish).
47
48 The options can appear in any order.
49
51 The following example command creates a Snowball-based dictionary with
52 a nonstandard list of stop words.
53
54 CREATE TEXT SEARCH DICTIONARY my_russian (
55 template = snowball,
56 language = russian,
57 stopwords = myrussian
58 );
59
61 There is no CREATE TEXT SEARCH DICTIONARY statement in the SQL
62 standard.
63
65 ALTER TEXT SEARCH DICTIONARY (ALTER_TEXT_SEARCH_DICTIONARY(7)), DROP
66 TEXT SEARCH DICTIONARY (DROP_TEXT_SEARCH_DICTIONARY(7))
67
68
69
70PostgreSQL 9.2.24 2017-11-06 CREATE TEXT SEARCH DICTIONARY(7)