mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Improve text search prefix doc addition.
This commit is contained in:
parent
5bba4948eb
commit
4077980d67
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user