|
92 | 92 | <entry><type>real</type></entry> |
93 | 93 | <entry> |
94 | 94 | 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). |
99 | 100 | </entry> |
100 | 101 | </row> |
101 | 102 | <row> |
|
155 | 156 | <entry><type>text</> <literal>%></literal> <type>text</></entry> |
156 | 157 | <entry><type>boolean</type></entry> |
157 | 158 | <entry> |
158 | | - Returns <literal>true</> if its first argumenthave awordwhich is the |
159 | | -similar word tothe second argument and they have a similarity |
160 | | -that is greater than thecurrent word similarity threshold set by |
| 159 | + Returns <literal>true</> if its first argumenthas the similarwordin |
| 160 | + the second argument and they have a similarity that is greater than the |
| 161 | + current word similarity threshold set by |
161 | 162 | <varname>pg_trgm.word_similarity_threshold</> parameter. |
162 | 163 | </entry> |
163 | 164 | </row> |
|