Thread: pgsql: Rename and slightly redefine the default text search parser's

pgsql: Rename and slightly redefine the default text search parser's

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Rename and slightly redefine the default text search parser's "word"
categories, as per discussion.  asciiword (formerly lword) is still
ASCII-letters-only, and numword (formerly word) is still the most general
mixed-alpha-and-digits case.  But word (formerly nlword) is now
any-group-of-letters-with-at-least-one-non-ASCII, rather than all-non-ASCII as
before.  This is no worse than before for parsing mixed Russian/English text,
which seems to have been the design center for the original coding; and it
should simplify matters for parsing most European languages.  In particular
it will not be necessary for any language to accept strings containing digits
as being regular "words".  The hyphenated-word categories are adjusted
similarly.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.403 -> r1.404)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.403&r2=1.404)
        textsearch.sgml (r1.23 -> r1.24)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/textsearch.sgml?r1=1.23&r2=1.24)
    pgsql/src/backend/snowball:
        Makefile (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/snowball/Makefile?r1=1.3&r2=1.4)
        snowball.sql.in (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/snowball/snowball.sql.in?r1=1.4&r2=1.5)
    pgsql/src/backend/tsearch:
        wparser_def.c (r1.3 -> r1.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/wparser_def.c?r1=1.3&r2=1.4)
    pgsql/src/include/catalog:
        catversion.h (r1.435 -> r1.436)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h?r1=1.435&r2=1.436)
    pgsql/src/test/regress/expected:
        tsdicts.out (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/tsdicts.out?r1=1.2&r2=1.3)
        tsearch.out (r1.4 -> r1.5)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/tsearch.out?r1=1.4&r2=1.5)
    pgsql/src/test/regress/sql:
        tsdicts.sql (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/tsdicts.sql?r1=1.1&r2=1.2)
    pgsql/src/tools/msvc:
        Install.pm (r1.24 -> r1.25)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Install.pm?r1=1.24&r2=1.25)