Fix doc for full text search distance operator.
authorHeikki Linnakangas
Mon, 19 Oct 2020 14:58:38 +0000 (17:58 +0300)
committerHeikki Linnakangas
Mon, 19 Oct 2020 14:58:59 +0000 (17:58 +0300)
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

doc/src/sgml/textsearch.sgml

index 15bac0dfdad5361a04381c4132cadcddfffc1850..be5ede40d099b32d09e7776f128c1daa3780bf8b 100644 (file)
@@ -1637,7 +1637,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat');
      
       
        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
        distance lexemes, using
        the <N>
        tsquery operator.  For example: