Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix doc for full text search distance operator.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Oct 2020 14:58:38 +0000 (17:58 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Oct 2020 14:59:04 +0000 (17:59 +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 ca1e72dd89c294fd053672555fa4438e2e33a2bc..7e0b7e44f14fce8af1a4b3121bf7c0eccef6cb7c 100644 (file)
@@ -1563,7 +1563,7 @@ SELECT to_tsquery('fat') &lt;-&gt; 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>&lt;<replaceable>N</>&gt;</literal>
        <type>tsquery</> operator.  For example: