]> granicus.if.org Git - postgresql/commit
Rework word_similarity documentation, make it close to actual algorithm.
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 21 Mar 2018 11:37:18 +0000 (14:37 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 21 Mar 2018 11:37:18 +0000 (14:37 +0300)
commit5b1b7286c9e12dfe6aad6d722b704d3e948a3d03
tree9f6c4aa13af62467c2614d62a96fab72c7b971eb
parent8bcdba9a20a836afdfcc6e8bff2c81c207775f5c
Rework word_similarity documentation, make it close to actual algorithm.

word_similarity before claimed as returning similarity of closest word in
string, but, actually it returns similarity of substring. Also fix mistyped
comments.

Author: Alexander Korotkov
Review by: David Steele, Liudmila Mantrova
Discussionis:
https://www.postgresql.org/message-id/flat/CY4PR17MB13207ED8310F847CF117EED0D85A0@CY4PR17MB1320.namprd17.prod.outlook.com
https://www.postgresql.org/message-id/flat/f43b242d-000c-f4c8-cb8b-d37e9752cd93%40postgrespro.ru
contrib/pg_trgm/trgm_op.c
doc/src/sgml/pgtrgm.sgml