]> granicus.if.org Git - postgresql/commit
The fti.pl supplied with the fulltextindex module generate ALL possible
authorBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2001 18:40:12 +0000 (18:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 1 Aug 2001 18:40:12 +0000 (18:40 +0000)
commit938236a29716c754a9a9238e377c3cd15db11dde
tree4f11bf16438f5cba7371f0384f877ccb80c93398
parent8c6761acc7920f80ff871f92a4143735b77ef09b
The fti.pl supplied with the fulltextindex module generate ALL possible
substrings of two characters or greater, and is case-sensitive.

This patch makes it work correctly.  It generates only the suffixes of each
word, plus lowercases them - as specified by the README file.

This brings it into line with the fti.c function, makes it case-insensitive
properly, removes the problem with duplicate rows being returned from an fti
search and greatly reduces the size of the generated index table.

It was written by my co-worker, Brett Toolin.

Christopher Kings-Lynne
contrib/fulltextindex/fti.pl