LP#118066: fix searches that failed because punctuation was a token in query user/gmcharlt/lp1180066_punct_tokens
authorGalen Charlton <gmc@esilibrary.com>
Tue, 14 May 2013 19:33:54 +0000 (15:33 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 14 May 2013 19:33:54 +0000 (15:33 -0400)
commit5f5731a780b6b846737c5e40a68acaf53d916335
treec685005b81a832bba4c54cadfb3e683de6212eac
parente414073d82c84ebb4b230aa5b54e2f3593b1b5ba
LP#118066: fix searches that failed because punctuation was a token in query

When building the text array literal to pass to evergreen.rel_bump,
make sure that tokens that get {search_}normalize{d} away
don't result in syntax errors.

With this patch, searches like the following will work again:

keyword:Take me to the river / Al Green and Mabon

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm