]> granicus.if.org Git - postgresql/commitdiff
Improve text search prefix doc addition.
authorBruce Momjian <bruce@momjian.us>
Sat, 19 Feb 2011 04:23:52 +0000 (23:23 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 19 Feb 2011 04:23:52 +0000 (23:23 -0500)
doc/src/sgml/datatype.sgml

index 10f0e590d79646dceeb25aa5c3838937044b25dc..253b7578985eaab013bfafd7046da1d9e5d556b2 100644 (file)
@@ -3847,12 +3847,9 @@ SELECT 'super:*'::tsquery;
  'super':*
 </programlisting>
      This query will match any word in a <type>tsvector</> that begins
-     with <quote>super</>.  
-    </para>
-
-    <para>
-     Note that text search configuration processing happens before
-     comparisons, which means this comparison returns <literal>true</>:
+     with <quote>super</>.  Note that prefixes are first processed by
+     text search configurations, which means this comparison returns
+     true:
 <programlisting>
 SELECT to_tsvector( 'postgraduate' ) @@ to_tsquery( 'postgres:*' );
  ?column?