OSDN Git Service

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)
commit73e6f9d3b61995525785b2f4490b465fe860196b
treed2607bdf0e753b583f53a30327b29774fe34129e
parent1aaf39bd20122984bafa30bf4ec8ba357b59e955
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