Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f0e92bc

Browse files
committed
Fix doc for full text search distance operator.
Commit 028350f 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
1 parent 9b27176 commit f0e92bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/textsearch.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat');
16371637
<listitem>
16381638
<para>
16391639
Returns a query that searches for a match to the first given query
1640-
followed by a match to the second given query at a distance of at
1640+
followed by a match to the second given query at a distance of exactly
16411641
<replaceable>distance</replaceable> lexemes, using
16421642
the <literal>&lt;<replaceable>N</replaceable>&gt;</literal>
16431643
<type>tsquery</type> operator. For example:

0 commit comments

Comments
 (0)