|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.39 2007/11/28 15:42:31 petere Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.40 2007/12/13 06:32:47 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="textsearch">
|
4 | 4 | <title id="textsearch-title">Full Text Search</title>
|
@@ -2376,7 +2376,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_simple (
|
2376 | 2376 |
|
2377 | 2377 | <programlisting>
|
2378 | 2378 | ALTER TEXT SEARCH CONFIGURATION russian
|
2379 |
| -ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple; |
| 2379 | +ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple; |
2380 | 2380 | </programlisting>
|
2381 | 2381 | </para>
|
2382 | 2382 |
|
@@ -2405,7 +2405,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_astro (
|
2405 | 2405 | );
|
2406 | 2406 |
|
2407 | 2407 | ALTER TEXT SEARCH CONFIGURATION russian
|
2408 |
| -ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem; |
| 2408 | +ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem; |
2409 | 2409 | </programlisting>
|
2410 | 2410 |
|
2411 | 2411 | Now we can see how it works.
|
|