Change a couple of examples to say ALTER MAPPING instead of ADD MAPPING,
per Oleg.
This commit is contained in:
parent
cede2491b8
commit
e211470b19
|
@ -1,4 +1,4 @@
|
||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.39 2007/11/28 15:42:31 petere Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/textsearch.sgml,v 1.40 2007/12/13 06:32:47 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter id="textsearch">
|
<chapter id="textsearch">
|
||||||
<title id="textsearch-title">Full Text Search</title>
|
<title id="textsearch-title">Full Text Search</title>
|
||||||
|
@ -2376,7 +2376,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_simple (
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ALTER TEXT SEARCH CONFIGURATION russian
|
ALTER TEXT SEARCH CONFIGURATION russian
|
||||||
ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple;
|
ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@ -2405,7 +2405,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_astro (
|
||||||
);
|
);
|
||||||
|
|
||||||
ALTER TEXT SEARCH CONFIGURATION russian
|
ALTER TEXT SEARCH CONFIGURATION russian
|
||||||
ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem;
|
ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
Now we can see how it works.
|
Now we can see how it works.
|
||||||
|
|
Loading…
Reference in New Issue