Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4077980

Browse files
committed
Improve text search prefix doc addition.
1 parent 5bba494 commit 4077980

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3847,12 +3847,9 @@ SELECT 'super:*'::tsquery;
38473847
'super':*
38483848
</programlisting>
38493849
This query will match any word in a <type>tsvector</> that begins
3850-
with <quote>super</>.
3851-
</para>
3852-
3853-
<para>
3854-
Note that text search configuration processing happens before
3855-
comparisons, which means this comparison returns <literal>true</>:
3850+
with <quote>super</>. Note that prefixes are first processed by
3851+
text search configurations, which means this comparison returns
3852+
true:
38563853
<programlisting>
38573854
SELECT to_tsvector( 'postgraduate' ) @@ to_tsquery( 'postgres:*' );
38583855
?column?

0 commit comments

Comments
 (0)