diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-10-19 17:58:38 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-10-19 17:58:38 +0300 |
commit | 1a64c7636f24096155f7aa15d7164eba3cdef075 (patch) | |
tree | eb0c03db8b78a72fb85e18235b2202aefc8072fb | |
parent | b4d5b458e6fb4c861f92888753deea6a5005a68d (diff) | |
download | postgresql-1a64c7636f24096155f7aa15d7164eba3cdef075.tar.gz postgresql-1a64c7636f24096155f7aa15d7164eba3cdef075.zip |
Fix doc for full text search distance operator.
Commit 028350f619 changed its behavior from "at most" to "exactly", but
forgot to update the documentation. Backpatch to 9.6.
Patch by Justin Pryzby, per Yaroslav Schekin's report.
Discussion: https://www.postgresql.org/message-id/20201005191922.GE17626%40telsasoft.com
-rw-r--r-- | doc/src/sgml/textsearch.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 2ebdf02bfaf..8af6ac01d30 100644 --- a/doc/src/sgml/textsearch.sgml +++ b/doc/src/sgml/textsearch.sgml @@ -1645,7 +1645,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat'); <listitem> <para> Returns a query that searches for a match to the first given query - followed by a match to the second given query at a distance of at + followed by a match to the second given query at a distance of exactly <replaceable>distance</replaceable> lexemes, using the <literal><<replaceable>N</replaceable>></literal> <type>tsquery</type> operator. For example: |