+ linkend="guc-default-text-search-config"> in each session. Many
+ functions also take an optional configuration name.
+
-
-
Managing Multiple Configurations
-
- If you are using the same text search configuration for the entire cluster
- just set the value in postgresql.conf>. If using a single
- text search configuration for an entire database, use ALTER
- DATABASE ... SET>.
-
-
- However, if you need to use several text search configurations in the same
- database you must be careful to reference the proper text search
- configuration. This can be done by either setting
- default_text_search_config> in each session or supplying the
- configuration name in every function call, e.g. to_tsquery('french',
- 'friend'), to_tsvector('english', col). If you are using an expression
- index you must embed the configuration name into the expression index, e.g.:
-
-CREATE INDEX pgweb_idx ON pgweb USING gin(to_tsvector('french', title || body));
-
-
- And for an expression index, specify the configuration name in the
- WHERE> clause as well so the expression index will be used.
-
-
-
-