Обсуждение: pgsql/contrib/fulltextindex fti.pl

Поиск
Список
Период
Сортировка

pgsql/contrib/fulltextindex fti.pl

От
Bruce Momjian - CVS
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/08/01 14:40:12

Modified files:
    contrib/fulltextindex: fti.pl

Log message:
    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