git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e08fdf1) | patch
Improve GiST index search performance for trigram regex queries.
2013年4月15日 16:49:29 +0000 (12:49 -0400)
2013年4月15日 16:49:29 +0000 (12:49 -0400)
commit 410bed2ab8c3864d7f34f9694d080adcaf446352
Improve GiST index search performance for trigram regex queries.

The initial coding just descended the index if any of the target trigrams
were possibly present at the next level down. But actually we can apply
trigramsMatchGraph() so as to take advantage of AND requirements when there
are some. The input data might contain false positive matches, but that
can only result in a false positive result, not false negative, so it's
safe to do it this way.

Alexander Korotkov
contrib/pg_trgm/trgm_gist.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /