Various tweaks to improve test suite.
[cql-java-moved-to-github.git] / test / regression / queries.raw
index 67daa48..1cbb74d 100644 (file)
@@ -69,23 +69,16 @@ cat?dog
 (cat and dog) or (horse and frog)
 (cat and (horse or frog)) and chips
 
+# Prefix Maps
+
+> foo="http://www.loc.gov/zing/cql/dc-indexes/" foo.title="fish"
+> "http://www.loc.gov/zing/cql/dc-indexes/" title="fish"
+> foo="http://www.loc.gov/zing/cql/dc-indexes" > ccg = "http://srw.o-r-g.org/indexSets/ccg/" foo.title="fish" and ccg.force=3
+
 # Lame searches
 
 any or all:stem and all exact any prox prox=fuzzy
 (((((((((any)))))))))
-("")
-
-# Invalid searches [should error]
-
->
-===
-cat or
-index any 
-index any/wrong term
-a prox/wrong b
-()
-(a
-index any fish)
-(cat any dog or ())
-title = ("illegal parentheses")
-"quoted" any "illegal quotes"
+""
+> any > any = exact any > any
+