Skip to content

Commit aa560d3

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 555b151 commit aa560d3

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
@@ -1643,7 +1643,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat');
16431643
<listitem>
16441644
<para>
16451645
Returns a query that searches for a match to the first given query
1646-
followed by a match to the second given query at a distance of at
1646+
followed by a match to the second given query at a distance of exactly
16471647
<replaceable>distance</replaceable> lexemes, using
16481648
the <literal>&lt;<replaceable>N</replaceable>&gt;</literal>
16491649
<type>tsquery</type> operator. For example:

0 commit comments

Comments
 (0)