Add some more test queries to query_tester.pl
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 11 Sep 2012 13:11:29 +0000 (09:11 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 15 Feb 2013 20:39:48 +0000 (15:39 -0500)
At least one of which requires a follow-up change to the driver to resolve.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/support-scripts/test-scripts/query_tests.pl

index f8d0984..c8a2715 100755 (executable)
@@ -22,6 +22,10 @@ my @default_queries = (
     '(item_type(a)) keyword1 title:keyword2',
     'concerto',
     'concerto (violin || piano)',
+    '-keyword1',
+    '-"keyword1"',
+    'keyword:"keyword1"',
+    'keyword:"keyword1" title:"keyword2"',
 # A small set of searches that errored out in a production install
     'keyword: subject:Graphical user interfaces (Computer systems) depth(0) subject|topic[Authoring programs]',
     'keyword: subject:Assassins New York (State) depth(0) subject|geographic[Buffalo (N.Y.)]',