]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
bug 605921: fix bib search hang on queries like "title ; subtitle"
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Jul 2010 15:15:43 +0000 (15:15 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Jul 2010 15:15:43 +0000 (15:15 +0000)
commit808bd714203fbd167d889c880b9d07cd12e82e42
tree1498b062ebe6a65bba371dcae32cb0b162babecf
parent1eaa1e9db76c5713ad00fa1fa64dcaad73f212b2
bug 605921: fix bib search hang on queries like "title ; subtitle"

More generally, the fix avoids a to_tsquery exception in cases
where a search term is normalized away to the empty string.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16939 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm