Change text search parsing rules for hyphenated words so that digit strings
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Oct 2007 19:03:45 +0000 (19:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Oct 2007 19:03:45 +0000 (19:03 +0000)
commit6bef12fe6fb78a9b65ae00e8fa3403c93484cde3
tree705db08f2537a4b7f8de60500d8b5ac2f3045ef9
parent1c9e48c9c58098f9beb85a229a05100c64c96209
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.
src/backend/tsearch/wparser_def.c
src/test/regress/expected/tsearch.out