Change text search parsing rules for hyphenated words so that digit strings
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/wparser_def.c | modified | +13 −70 |
| src/test/regress/expected/tsearch.out | modified | +8 −12 |