Commit 4077980d authored by Bruce Momjian's avatar Bruce Momjian

Improve text search prefix doc addition.

parent 5bba4948
...@@ -3847,12 +3847,9 @@ SELECT 'super:*'::tsquery; ...@@ -3847,12 +3847,9 @@ SELECT 'super:*'::tsquery;
'super':* 'super':*
</programlisting> </programlisting>
This query will match any word in a <type>tsvector</> that begins This query will match any word in a <type>tsvector</> that begins
with <quote>super</>. with <quote>super</>. Note that prefixes are first processed by
</para> text search configurations, which means this comparison returns
true:
<para>
Note that text search configuration processing happens before
comparisons, which means this comparison returns <literal>true</>:
<programlisting> <programlisting>
SELECT to_tsvector( 'postgraduate' ) @@ to_tsquery( 'postgres:*' ); SELECT to_tsvector( 'postgraduate' ) @@ to_tsquery( 'postgres:*' );
?column? ?column?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment