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

Commit 1a64c76

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 b4d5b45 commit 1a64c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/textsearch.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ SELECT to_tsquery('fat') <-> to_tsquery('cat | rat');
16451645
<listitem>
16461646
<para>
16471647
Returns a query that searches for a match to the first given query
1648-
followed by a match to the second given query at a distance of at
1648+
followed by a match to the second given query at a distance of exactly
16491649
<replaceable>distance</replaceable> lexemes, using
16501650
the <literal>&lt;<replaceable>N</replaceable>&gt;</literal>
16511651
<type>tsquery</type> operator. For example:

0 commit comments

Comments
 (0)