]> granicus.if.org Git - postgresql/commit
Add strict_word_similarity to pg_trgm module
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 21 Mar 2018 11:57:42 +0000 (14:57 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 21 Mar 2018 11:57:42 +0000 (14:57 +0300)
commitbe8a7a6866276b228b4ffaa3003e1dc2dd1d140a
tree6ff95878418ee689723728dca29de6de337ef200
parentf20b3285340cc0576ab8445f483700983cf2ba9f
Add strict_word_similarity to pg_trgm module

strict_word_similarity is similar to existing word_similarity function but
it takes into account word boundaries to compute similarity.

Author: Alexander Korotkov
Review by: David Steele, Liudmila Mantrova, me
Discussion: https://www.postgresql.org/message-id/flat/CY4PR17MB13207ED8310F847CF117EED0D85A0@CY4PR17MB1320.namprd17.prod.outlook.com
contrib/pg_trgm/Makefile
contrib/pg_trgm/expected/pg_strict_word_trgm.out [new file with mode: 0644]
contrib/pg_trgm/pg_trgm--1.3--1.4.sql [new file with mode: 0644]
contrib/pg_trgm/pg_trgm.control
contrib/pg_trgm/sql/pg_strict_word_trgm.sql [new file with mode: 0644]
contrib/pg_trgm/trgm.h
contrib/pg_trgm/trgm_gin.c
contrib/pg_trgm/trgm_gist.c
contrib/pg_trgm/trgm_op.c
doc/src/sgml/pgtrgm.sgml