| From: | tgl(at)postgresql(dot)org (Tom Lane) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Change text search parsing rules for hyphenated words so that |
| Date: | 2007-10-27 19:03:45 |
| Message-ID: | 20071027190345.A5D1E754229@cvs.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Log Message:
-----------
Change text search parsing rules for hyphenated words so that digit strings
containing decimal points aren't considered part of a hyphenated word.
Sync the hyphenated-word lookahead states with the subsequent part-by-part
reparsing states so that we don't get different answers about how much text
is part of the hyphenated word. Per my gripe of a few days ago.
Modified Files:
--------------
pgsql/src/backend/tsearch:
wparser_def.c (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/wparser_def.c?r1=1.6&r2=1.7)
pgsql/src/test/regress/expected:
tsearch.out (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/tsearch.out?r1=1.7&r2=1.8)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | User Kostas | 2007-10-27 21:58:11 | pgtreelib - pgtreelib: |
| Previous Message | Tom Lane | 2007-10-27 17:53:15 | pgsql: Add some rudimentary tracing code to the default text search |