@@ -913,7 +913,7 @@ SELECT plainto_tsquery('english', 'The Fat & Rats:C');
913913 'fat' & 'rat' & 'c'
914914</screen>
915915
916- Here, all the input punctuation was discarded as being space symbols .
916+ Here, all the input punctuation was discarded.
917917 </para>
918918
919919 <indexterm>
@@ -969,16 +969,16 @@ websearch_to_tsquery(<optional> <replaceable class="parameter">config</replaceab
969969 syntax in which simple unformatted text is a valid query.
970970 Unlike <function>plainto_tsquery</function>
971971 and <function>phraseto_tsquery</function>, it also recognizes certain
972- operators. Moreover, this function should never raise syntax errors,
972+ operators. Moreover, this function will never raise syntax errors,
973973 which makes it possible to use raw user-supplied input for search.
974974 The following syntax is supported:
975+
975976 <itemizedlist spacing="compact" mark="bullet">
976977 <listitem>
977978 <para>
978979 <literal>unquoted text</literal>: text not inside quote marks will be
979980 converted to terms separated by <literal>&</literal> operators, as
980- if processed by
981- <function>plainto_tsquery</function>.
981+ if processed by <function>plainto_tsquery</function>.
982982 </para>
983983 </listitem>
984984 <listitem>
@@ -990,18 +990,26 @@ websearch_to_tsquery(<optional> <replaceable class="parameter">config</replaceab
990990 </listitem>
991991 <listitem>
992992 <para>
993- <literal>OR</literal>: logical or will be converted to
993+ <literal>OR</literal>: the word <quote>or</quote> will be converted to
994994 the <literal>|</literal> operator.
995995 </para>
996996 </listitem>
997997 <listitem>
998998 <para>
999- <literal>-</literal>: the logical not operator, converted to the
999+ <literal>-</literal>: a dash will be converted to
10001000 the <literal>!</literal> operator.
10011001 </para>
10021002 </listitem>
10031003 </itemizedlist>
1004+
1005+ Other punctuation is ignored. So
1006+ like <function>plainto_tsquery</function>
1007+ and <function>phraseto_tsquery</function>,
1008+ the <function>websearch_to_tsquery</function> function will not
1009+ recognize <type>tsquery</type> operators, weight labels, or prefix-match
1010+ labels in its input.
10041011 </para>
1012+
10051013 <para>
10061014 Examples:
10071015<screen>
0 commit comments