LP#118066: fix searches that failed because punctuation was a token in query
authorGalen Charlton <gmc@esilibrary.com>
Tue, 14 May 2013 19:33:54 +0000 (15:33 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 14 May 2013 20:02:22 +0000 (16:02 -0400)
commitc10d22a43849bb3c142c691860c28f311ef34f67
tree1ea31c7e5af1d719d475f5b02a6fa8e500f052bd
parenta46c410a1a3295b407a4b01416edf1189c37bdf1
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>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm