Skip to content

Commit ff83e2a

Browse files
author
Artur Zakirov
committed
Minor documentation changes
1 parent 9dab425 commit ff83e2a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/src/sgml/pgtrgm.sgml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@
9292
<entry><type>real</type></entry>
9393
<entry>
9494
Returns a number that indicates how similar the first string
95-
to the most similar word of the second string. The range of
96-
the result is zero (indicating that the two strings are completely
97-
dissimilar) to one (indicating that the first string is identical
98-
to one of the word of the second string).
95+
to the most similar word of the second string. The function searches in
96+
the second string a most similar word not a most similar substring. The
97+
range of the result is zero (indicating that the two strings are
98+
completely dissimilar) to one (indicating that the first string is
99+
identical to one of the word of the second string).
99100
</entry>
100101
</row>
101102
<row>
@@ -155,9 +156,9 @@
155156
<entry><type>text</> <literal>%&gt;</literal> <type>text</></entry>
156157
<entry><type>boolean</type></entry>
157158
<entry>
158-
Returns <literal>true</> if its first argument have a word which is the
159-
similar word to the second argument and they have a similarity
160-
that is greater than the current word similarity threshold set by
159+
Returns <literal>true</> if its first argument has the similar word in
160+
the second argument and they have a similarity that is greater than the
161+
current word similarity threshold set by
161162
<varname>pg_trgm.word_similarity_threshold</> parameter.
162163
</entry>
163164
</row>

0 commit comments

Comments
 (0)