Skip to content

Commit 71cb2e4

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 ecc173f commit 71cb2e4

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
@@ -1563,7 +1563,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat');
15631563
<listitem>
15641564
<para>
15651565
Returns a query that searches for a match to the first given query
1566-
followed by a match to the second given query at a distance of at
1566+
followed by a match to the second given query at a distance of exactly
15671567
<replaceable>distance</replaceable> lexemes, using
15681568
the <literal>&lt;<replaceable>N</>&gt;</literal>
15691569
<type>tsquery</> operator. For example:

0 commit comments

Comments
 (0)