Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename and slightly redefine the default text search parser's
Date: 2007-10-23 20:46:12
Message-ID: 20071023204612.88E8E754229@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-10-23 21:38:16
Subject: pgsql: Make configure probe for the location of the <uuid.h> header
Previous:From: Magnus HaganderDate: 2007-10-23 17:58:01
Subject: pgsql: Use snprintf instead of wsprintf, and use getenv("APPDATA")

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group