diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-02-18 23:23:52 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-02-18 23:23:52 -0500 |
commit | 4077980d67a2f27b88a6bc7531da31cae0ed0fb1 (patch) | |
tree | 3732a6b82e53cb4086c856d44adf54810d08b8f9 | |
parent | 5bba4948eb835413cc4a5ca1e2f7255ce4c78e69 (diff) | |
download | postgresql-4077980d67a2f27b88a6bc7531da31cae0ed0fb1.tar.gz postgresql-4077980d67a2f27b88a6bc7531da31cae0ed0fb1.zip |
Improve text search prefix doc addition.
-rw-r--r-- | doc/src/sgml/datatype.sgml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 10f0e590d79..253b7578985 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -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? |